pub trait StaticArchetype: Sized + ArchetypeState {
    const N_COMPONENTS: usize;

    fn metadata() -> fn() -> ArchetypeMetadata;

    fn into_any(self) -> AnyState { ... }
}
Expand description

Defines archetype objects (entity states).

Required Associated Constants§

Required Methods§

Provided Methods§

Implementors§