Trait former::exposed::EntityToDefinitionTypes

source ·
pub trait EntityToDefinitionTypes<Context, Formed> {
    type Types: FormerDefinitionTypes;
}
Expand description

Provides a mapping between a type of entity and its associated formation type definitions.

Required Associated Types§

source

type Types: FormerDefinitionTypes

Specifies the FormerDefinitionTypes that define the storage, formed entity, and context types used during formation. This association is essential for ensuring that the formation process is carried out with the correct type-specific logic.

Implementations on Foreign Types§

source§

impl<E, Context, Formed> EntityToDefinitionTypes<Context, Formed> for BinaryHeap<E>
where E: Ord,

§

type Types = BinaryHeapDefinitionTypes<E, Context, Formed>

source§

impl<E, Context, Formed> EntityToDefinitionTypes<Context, Formed> for BTreeSet<E>

§

type Types = BTreeSetDefinitionTypes<E, Context, Formed>

source§

impl<E, Context, Formed> EntityToDefinitionTypes<Context, Formed> for LinkedList<E>

§

type Types = LinkedListDefinitionTypes<E, Context, Formed>

source§

impl<E, Context, Formed> EntityToDefinitionTypes<Context, Formed> for VecDeque<E>

§

type Types = VecDequeDefinitionTypes<E, Context, Formed>

source§

impl<E, Context, Formed> EntityToDefinitionTypes<Context, Formed> for Vec<E>

§

type Types = VectorDefinitionTypes<E, Context, Formed>

source§

impl<K, Context, Formed> EntityToDefinitionTypes<Context, Formed> for HashSet<K>
where K: Eq + Hash,

§

type Types = HashSetDefinitionTypes<K, Context, Formed>

source§

impl<K, E, Context, Formed> EntityToDefinitionTypes<Context, Formed> for BTreeMap<K, E>
where K: Ord,

§

type Types = BTreeMapDefinitionTypes<K, E, Context, Formed>

source§

impl<K, E, Context, Formed> EntityToDefinitionTypes<Context, Formed> for HashMap<K, E>
where K: Eq + Hash,

§

type Types = HashMapDefinitionTypes<K, E, Context, Formed>

Implementors§