pub type BTreeMapFormer<K, E, Context, Formed, End> = CollectionFormer<(K, E), BTreeMapDefinition<K, E, Context, Formed, End>>;Expand description
Provides a streamlined builder interface for constructing binary tree map-like collections.
BTreeMapFormer is a type alias that configures the CollectionFormer specifically for binary tree maps,
facilitating a more intuitive and flexible way to build and manipulate binary tree maps within custom data structures.
This type alias simplifies the usage of binary tree maps in builder patterns by encapsulating complex generic parameters
and leveraging the BTreeMapDefinition to handle the construction logic. It supports fluent chaining of key-value
insertions and can be customized with various end actions to finalize the binary tree map upon completion.
The alias helps reduce boilerplate code and enhances readability, making the construction of binary tree maps in a builder pattern both efficient and expressive.
Aliased Typeยง
pub struct BTreeMapFormer<K, E, Context, Formed, End> { /* private fields */ }