Skip to main content

Module ecs

Module ecs 

Source

Structs§

ComponentStore
Sparse component storage keyed by Entity. Indexed directly by the entity’s index, with the stored generation checked on every access so a stale Entity (held past a despawn) never reads or writes whatever new component ends up in the recycled slot.
Entity
A generational handle to an entity in a crate::world::World.