Expand description
Protected namespace of the module.
Modules§
Structs§
- A wrapper around a closure to be used as a
FormingEnd. - A builder for constructing hash map-like structures with a fluent interface.
- Facilitates building
HashSetLikecontainers with a fluent API. - A
FormingEndimplementation that returns the formed container itself instead of the context. - A builder for constructing
VectorLikecontainers, facilitating a fluent and flexible interface.
Traits§
- The
AssignWithTypetrait provides a mechanism to set a component on an object, utilizing the type information explicitly. This trait extends the functionality ofSetComponent by allowing implementers to specify the component’s type at the method call site, enhancing expressiveness in code that manipulates object states. - Provides a generic interface for setting a component of a certain type on an object.
- A trait defining the capability to add elements to a container.
- A trait defining the capability to replface all elements.
- A trait defining the initialization process for a subformer with contextual linkage.
- Defines a handler for the end of a subforming process, enabling the return of the original context.
- A trait for types that behave like hash maps, supporting insertion and custom forming behaviors.
- A trait for containers behaving like a
HashSet, allowing insertion operations. - Trait for containers that behave like a vector, providing an interface for element addition.
Derive Macros§
- Derives the
ComponentAssigntrait for struct fields, allowing each field to be set with a value that can be converted into the field’s type. - Macro to implement
Fromfor each component (field) of a structure. This macro simplifies the creation ofFromtrait implementations for struct fields, enabling easy conversion from a struct reference to its field types. - Derives the
ComponentsAssigntrait for a struct, enablingcomponents_assignwhich set all fields at once. - Derive macro to generate former for a structure. Former is variation of Builder Pattern.
- A procedural macro to automatically derive the
From<T>trait implementation for a struct, enabling instances of one type to be converted from instances of another type.