pub struct Map<K>where
K: KeyType,{
pub name: MapName,
pub singular: BTreeMap<K, ValueData>,
pub plural: BTreeMap<K, BTreeMap<ByteStr, ValueData>>,
pub proprietary: IndexMap<PropKey, ValueData>,
pub unknown: IndexMap<u8, IndexMap<ByteStr, ValueData>>,
}
Fields§
§name: MapName
§singular: BTreeMap<K, ValueData>
§plural: BTreeMap<K, BTreeMap<ByteStr, ValueData>>
§proprietary: IndexMap<PropKey, ValueData>
§unknown: IndexMap<u8, IndexMap<ByteStr, ValueData>>
Implementations§
Trait Implementations§
impl<K> Eq for Map<K>
impl<K> StructuralPartialEq for Map<K>where
K: KeyType,
Auto Trait Implementations§
impl<K> Freeze for Map<K>
impl<K> RefUnwindSafe for Map<K>where
K: RefUnwindSafe,
impl<K> Send for Map<K>where
K: Send,
impl<K> Sync for Map<K>where
K: Sync,
impl<K> Unpin for Map<K>
impl<K> UnwindSafe for Map<K>where
K: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.