pub struct Map<K: KeyType> {
pub name: MapName,
pub singular: BTreeMap<K, ValueData>,
pub plural: BTreeMap<K, BTreeMap<KeyData, ValueData>>,
pub proprietary: IndexMap<PropKey, ValueData>,
pub unknown: IndexMap<u8, IndexMap<KeyData, ValueData>>,
}
Fields§
§name: MapName
§singular: BTreeMap<K, ValueData>
§plural: BTreeMap<K, BTreeMap<KeyData, ValueData>>
§proprietary: IndexMap<PropKey, ValueData>
§unknown: IndexMap<u8, IndexMap<KeyData, ValueData>>
Implementations§
Trait Implementations§
source§impl<K: PartialEq + KeyType> PartialEq for Map<K>
impl<K: PartialEq + KeyType> PartialEq for Map<K>
impl<K: Eq + KeyType> Eq for Map<K>
impl<K: KeyType> StructuralEq for Map<K>
impl<K: KeyType> StructuralPartialEq for Map<K>
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.