logo
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, simply *self = input.

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

Implementors

Assignable element, simply self.set(input).