bevy_ecs::archetype

Type Alias ComponentIndex

source
pub type ComponentIndex = HashMap<ComponentId, HashMap<ArchetypeId, ArchetypeRecord>>;
Expand description

Maps a ComponentId to the list of Archetypes that contain the Component, along with an ArchetypeRecord which contains some metadata about how the component is stored in the archetype.

Aliased Typeยง

struct ComponentIndex { /* private fields */ }