Trait former::EntityToFormer
source · pub trait EntityToFormer<Definition>where
Definition: FormerDefinition,{
type Former;
// Provided method
fn __f(_: &Definition) { ... }
}
Expand description
Maps a type of entity to its corresponding former. This trait binds an entity type to a specific former, facilitating the use of custom formers in complex formation scenarios.
Required Associated Types§
Provided Methods§
sourcefn __f(_: &Definition)
fn __f(_: &Definition)
A placeholder function to reference the definition without operational logic to calm compiler.
Object Safety§
This trait is not object safe.