Trait ndarray::AssignElem[][src]

pub trait AssignElem<T> {
    fn assign_elem(self, input: T);
}

A producer element that can be assigned to once

Required methods

fn assign_elem(self, input: T)[src]

Assign the value input to the element that self represents.

Loading content...

Implementations on Foreign Types

impl<'a, T> AssignElem<T> for &'a mut T[src]

Assignable element, simply *self = input.

impl<'a, T> AssignElem<T> for &'a Cell<T>[src]

Assignable element, simply self.set(input).

impl<'a, T> AssignElem<T> for &'a mut MaybeUninit<T>[src]

Assignable element, the item in the MaybeUninit is overwritten (prior value, if any, is not read or dropped).

Loading content...

Implementors

Loading content...