Module data_structures

Module data_structures 

Source

Modulesยง

entity_map
An EntityMap<E, V> is a map from EntityId<E> to values of type V with a hash-map-like API optimized for densely populated maps.
entity_vec
An EntityVec<E: Entity, V> is a vector of values of type V that can only be indexed by keys of type EntityId<E>.
value_vec
ValueVec<T>: a by-value, ref-less vector with interior mutability.