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 hash map-like collections.
BTreeMapFormer is a type alias that configures the CollectionFormer specifically for hash maps,
facilitating a more intuitive and flexible way to build and manipulate hash maps within custom data structures.
This type alias simplifies the usage of hash 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 hash map upon completion.
The alias helps reduce boilerplate code and enhances readability, making the construction of hash maps in a builder pattern both efficient and expressive.
Aliased Typeยง
struct BTreeMapFormer<K, E, Context, Formed, End> { /* private fields */ }