Trait rerun::external::ndarray::AssignElem
source · pub trait AssignElem<T> {
// Required method
fn assign_elem(self, input: T);
}
Expand description
A producer element that can be assigned to once
Required Methods§
sourcefn assign_elem(self, input: T)
fn assign_elem(self, input: T)
Assign the value input
to the element that self represents.
Implementations on Foreign Types§
source§impl<'a, T> AssignElem<T> for &'a Cell<T>
impl<'a, T> AssignElem<T> for &'a Cell<T>
Assignable element, simply self.set(input)
.
fn assign_elem(self, input: T)
source§impl<'a, T> AssignElem<T> for &'a mut MaybeUninit<T>
impl<'a, T> AssignElem<T> for &'a mut MaybeUninit<T>
Assignable element, the item in the MaybeUninit is overwritten (prior value, if any, is not read or dropped).
fn assign_elem(self, input: T)
source§impl<'a, T> AssignElem<T> for &'a mut T
impl<'a, T> AssignElem<T> for &'a mut T
Assignable element, simply *self = input
.
fn assign_elem(self, input: T)
Implementors§
impl<'a, T> AssignElem<T> for &'a MathCell<T>
Assignable element, simply self.set(input)
.