Struct former_runtime::VectorFormer [−][src]
pub struct VectorFormer<E, Vector, Former, ContainerEnd> where
Vector: VectorLike<E> + Debug + PartialEq + Default,
ContainerEnd: Fn(&mut Former, Option<Vector>), { /* fields omitted */ }Expand description
Class for forming vector-like fields.
Implementations
impl<E, Vector, Former, ContainerEnd> VectorFormer<E, Vector, Former, ContainerEnd> where
Vector: VectorLike<E> + Debug + PartialEq + Default,
ContainerEnd: Fn(&mut Former, Option<Vector>),
impl<E, Vector, Former, ContainerEnd> VectorFormer<E, Vector, Former, ContainerEnd> where
Vector: VectorLike<E> + Debug + PartialEq + Default,
ContainerEnd: Fn(&mut Former, Option<Vector>),
Make a new VectorFormer. It should be called by a former generated for your structure.
Set the whole container instead of setting each element individually.
Return former of your struct moving container there. Should be called after configuring the container.
Trait Implementations
Returns the “default value” for a type. Read more