Trait tract_core::internal::tract_ndarray::AssignElem[][src]

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

A producer element that can be assigned to once

Required methods

Assign the value input to the element that self represents.

Implementations on Foreign Types

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

Assignable element, simply self.set(input).

Assignable element, simply *self = input.

Implementors

Assignable element, simply self.set(input).