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
LinearMap
that allows modifying the items - Linear
MapInner - Base struct for
LinearMap
andLinearMapView
Traits§
- Linear
MapStorage - Trait defining how data for a
LinearMap
is 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
LinearMapStorage
that stores the data in an array whose size is known at compile time. - View
Storage - Implementation of
LinearMapStorage
that stores the data in an unsized slice.