pub struct Archetype<Metadata> {
    pub vec: VecAny,
    pub non_erased: Vec<NonErasedData<Metadata>>,
    /* private fields */
}
Expand description

Represents a single archetype in a ArchitypicalErasedRegistry.

Fields

vec: VecAny

Archetype of Vec where T is the type of the archetype.

non_erased: Vec<NonErasedData<Metadata>>

All data that doesn’t need to be type erased. Uses the same indices as the vec.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.