[−][src]Module specs::storage
Component storage types, implementations for component joins, etc.
Structs
AntiStorage | An inverted storage type, only useful to iterate entities that do not have a particular component type. |
BTreeStorage | BTreeMap-based storage. |
DenseVecStorage | Dense vector storage. Has a redirection 2-way table between entities and components, allowing to leave no gaps within the data. |
Entries |
|
FlaggedStorage | Wrapper storage that tracks modifications, insertions, and removals of
components through an |
HashMapStorage |
|
MaskedStorage | The |
NullStorage | A null storage type, used for cases where the component doesn't contain any data and instead works as a simple flag. |
OccupiedEntry | An entry to a storage which has a component associated to the entity. |
RestrictedStorage | Similar to a |
Storage | A wrapper around the masked storage and the generations vector.
Can be used for safe lookup of components, insertions and removes.
This is what |
VacantEntry | An entry to a storage which does not have a component associated to the entity. |
VecStorage | Vector storage. Uses a simple |
Enums
ComponentEvent | Component storage events received from a |
ImmutableParallelRestriction | Specifies that the |
MutableParallelRestriction | Specifies that the |
SequentialRestriction | Specifies that the |
StorageEntry | Entry to a storage for convenient filling of components or removal based on whether the entity has a component. |
Traits
AnyStorage | A dynamic storage. |
DistinctStorage | This is a marker trait which requires you to uphold the following guarantee: |
GenericReadStorage | Provides generic read access to both |
GenericWriteStorage | Provides generic write access to |
Tracked |
|
TryDefault | Tries to create a default value, returns an |
UnprotectedStorage | Used by the framework to quickly join components. |
Type Definitions
InsertResult | The status of an |
ReadStorage | A storage with read access. |
WriteStorage | A storage with read and write access. |