pub trait ArchetypeImpl<const N: usize>: IsArchetype + Sized {
    fn component_type_ids() -> [TypeId; N];
    fn component_infos() -> [ComponentInfo; N];

    fn into_any(self) -> AnyState
    where
        Self: 'static
, { ... } }
Expand description

Defines archetype objects (entity states) with definite components.

Required Methods

Provided Methods

Implementors