Trait former::LinkedListExt
source · pub trait LinkedListExt<E>: Sealed {
// Required method
fn former(
) -> CollectionFormer<E, LinkedListDefinition<E, (), LinkedList<E>, ReturnStorage>>;
}Expand description
Provides an extension method for lists to facilitate the use of the builder pattern.
This trait extends the LinkedList type, enabling it to use the LinkedListFormer interface directly.
This allows for fluent, expressive construction and manipulation of lists, integrating seamlessly
with the builder pattern provided by the former framework. It’s a convenience trait that simplifies
creating configured list builders with default settings.
Required Methods§
sourcefn former(
) -> CollectionFormer<E, LinkedListDefinition<E, (), LinkedList<E>, ReturnStorage>>
fn former( ) -> CollectionFormer<E, LinkedListDefinition<E, (), LinkedList<E>, ReturnStorage>>
Initializes a builder pattern for LinkedList using a default LinkedListFormer.
Object Safety§
This trait is not object safe.