Trait former::exposed::ContainerAssign
source · pub trait ContainerAssign {
type Element;
// Required method
fn assign<Elements>(&mut self, elements: Elements) -> usize
where Elements: IntoIterator<Item = Self::Element>;
}
Expand description
A trait defining the capability to replface all elements.
Required Associated Types§
Required Methods§
sourcefn assign<Elements>(&mut self, elements: Elements) -> usizewhere
Elements: IntoIterator<Item = Self::Element>,
fn assign<Elements>(&mut self, elements: Elements) -> usizewhere
Elements: IntoIterator<Item = Self::Element>,
Agging elements to the container.
Object Safety§
This trait is not object safe.