Crate genesis

Source

Structs§

Entities
A collection of entities.
Entity
An entity.
MapStorage
A storage type based on a HashMap, intended for sparsely used components.
NoSuchEntity
Error indicating that an entity passed to some operation doesn’t exist. This usually indicates that the generational index of the entity was outdated.
VecStorage
A storage type that stores components in a contiguous Vec.

Traits§

Register
Type that can be registered. Can be used to set components in ECS Worlds generated by genesis.

Attribute Macros§

world
Generates an ECS (World) and a component enum containing all components.