Module storage

Source

Structs§

AntiStorage
An inverted storage type, only useful to iterate entities that do not have a particular component type.
BTreeStorage
DenseVecStorage
Dense vector storage. Has a redirection 2-way table between entities and components, allowing to leave no gaps within the data.
Drain
A draining storage wrapper which has a Join implementation that removes the components.
HashMapStorage
HashMap-based storage. Best suited for rare components.
MaskedStorage
The Storage together with the BitSet that knows about which elements are stored, and which are not.
StorageWrapper
A wrapper around the masked storage and the generations vector. Can be used for safe lookup of components, insertions and removes. This is what World::read/write fetches for the user.
VecStorage
Vector storage. Uses a simple Vec. Supposed to have maximum performance for the components mostly present in entities.

Traits§

DistinctStorage
This is a marker trait which requires you to uphold the following guarantee:
Storage
Used by the framework to quickly join components.