Expand description
A hash map with double keys implemented as wrapper above two
HashMaps.
Macros§
- dhashmap
- Create a
DHashMap<K1, K2, V,RandomState>from a list of sequentially given keys and values.
Structs§
- DHash
Map - A hash map with double keys implemented as wrapper above two
HashMaps. - Drain
- A draining iterator over the entries of a
DHashMapin arbitrary order. The iterator element is tuple of type(K1, K2, V). - Entry
Error - The error returned by
entrymethod when there is no way to distinguish which entry should be returned. For more information about error kinds look atErrorKindenum. - Insert
Error - The error returned by
insertmethod (and alsotry_insertmethod) when there is no way to distinguish how given value with key #1 and key #2 should be inserted. It is also part of theTryInsertErrorenum which is returned bytry_insertmethod ofDHashMap. For more information about error kinds look atErrorKindenum. - Into
Iter - An owning iterator over the entries of a
DHashMap. - Into
Keys - An owning iterator over the keys of a
DHashMap. - Into
Values - An owning iterator over the values of a
DHashMap. - Iter
- An iterator over the entries of a
DHashMapin arbitrary order. The iterator element is tuple of type(&'a K1, &'a K2, &'a V). - IterMut
- A mutable iterator over the entries of a
DHashMapin arbitrary order. The iterator element is tuple of type(&'a K1, &'a K2, &'a mut V). - Keys
- An iterator over the keys of a
DHashMapin arbitrary order. The iterator element is tuple of type(&'a K1, &'a K2). - Occupied
Entry - A view into an occupied entry in a
DHashMap. It is part of theEntryenum andOccupiedErrorstruct. - Occupied
Error - The error returned by
try_insert(as a part of theTryInsertErrorenum) when the keys already exist and point to the same value. - Vacant
Entry - A view into a vacant entry in a
DHashMap. It is part of theEntryenum. - Values
- An iterator over the values of a
DHashMapin arbitrary order. The iterator element is&'a V. - Values
Mut - A mutable iterator over the values of a
DHashMapin arbitrary order. The iterator element is&'a mut V.
Enums§
- Entry
- A view into a single entry in a map, which may either be vacant or occupied.
- Error
Kind - A view into an error kind returned by
entry,insert,try_insertmethods of theDHashMap. It is part of theEntryErrorstructure,InsertErrorstructure andTryInsertErrorenum. - TryInsert
Error - The error returned by
try_insertmethod when the keys already exist and point to the same value (look atOccupiedError) or there is no way to distinguish how given value with key #1 and key #2 should be inserted. For more information about error kinds look atOccupiedError,InsertErrorstructures andErrorKindenum.