Trait entity_data::state::StaticArchetype
source · pub trait StaticArchetype: Sized + ArchetypeState {
const N_COMPONENTS: usize;
// Required method
fn metadata() -> ArchetypeMetadata;
// Provided method
fn into_any(self) -> AnyState { ... }
}
Expand description
Defines archetype objects (entity states).