Expand description
The entity module, with common helpers for Rust structures
Modules§
- packed_
option - Compact representation of
Option<T>
for types with a reserved value.
Macros§
- entity_
impl - Macro which provides the common implementation of a 32-bit entity reference.
Structs§
- Boxed
Slice - A slice mapping
K -> V
allocating dense entity references. - Iter
- Iterate over all keys in order.
- IterMut
- Iterate over all keys in order.
- Keys
- Iterate over all keys in order.
- Primary
Map - A primary mapping
K -> V
allocating dense entity references. - Secondary
Map - A mapping
K -> V
for densely indexed entity references.
Traits§
- Entity
Ref - A type wrapping a small integer index should implement
EntityRef
so it can be used as the key of anSecondaryMap
orSparseMap
.