pub trait Archetype: Send + Sync + 'static {
    type RawEntity: Raw;
    type Ealloc: Ealloc<Raw = Self::RawEntity>;
}
Expand description

An archetype is a kind of entity with a fixed set of (optional) components.

See the module-level documentation for more information.

Required Associated Types§

source

type RawEntity: Raw

The raw ID type used for entities with this archetype.

source

type Ealloc: Ealloc<Raw = Self::RawEntity>

The entity ID allocator for entities of this archetype.

Implementors§