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, simply self.set(input).

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

Assignable element, simply *self = input.

Implementors§

Assignable element, simply self.set(input).