Expand description
A fixed capacity map/dictionary that performs lookups via linear search.
Note that as this map doesn’t use hashing so most operations are O(n) instead of O(1).
Structs§
- Into
Iter - An iterator that moves out of a
LinearMap. - Iter
- An iterator over the items of a
LinearMap - IterMut
- An iterator over the items of a
LinearMapthat allows modifying the items - Linear
MapInner - Base struct for
LinearMapandLinearMapView
Traits§
- Linear
MapStorage - Trait defining how data for a
LinearMapis stored.
Type Aliases§
- Linear
Map - A fixed capacity map/dictionary that performs lookups via linear search.
- Linear
MapView - A dynamic capacity map/dictionary that performs lookups via linear search.
- Owned
Storage - Implementation of
LinearMapStoragethat stores the data in an array whose size is known at compile time. - View
Storage - Implementation of
LinearMapStoragethat stores the data in an unsized slice.