pub type LinearMap<K, V, const N: usize> = LinearMapInner<K, V, OwnedStorage<K, V, N>>;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).
Aliased Type§
pub struct LinearMap<K, V, const N: usize> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'de, K, V, const N: usize> Deserialize<'de> for LinearMap<K, V, N>
Available on crate feature serde only.
impl<'de, K, V, const N: usize> Deserialize<'de> for LinearMap<K, V, N>
Available on crate feature
serde only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more