Crate double_map
source · [−]Expand description
double-map
DHashMap is like a std::collection::HashMap, but allow to use double key to single data/value
Structs
The error returned by insert method (and also
try_insert method) when there is no way to distinguish
how given value with key #1 and key #2 should be inserted. It is also part of the
TryInsertError enum which if returned by try_insert method
of DHashMap. For more information about error kinds look to ErrorKind enum.
A view into an occupied entry in a DHashMap.
It is part of the Entry enum and OccupiedError struct.
The error returned by try_insert (as a part of the TryInsertError
enum) when the keys already exists and points to the same value.
Enums
A view into a single entry in a map, which may either be vacant or occupied.
A view into an error kind returned by entry, insert,
try_insert methods of the DHashMap.
It is part of the EntryError structure, InsertError structure and TryInsertError
enum.
The error returned by try_insert method when the keys already exists
and points to the same value (look to OccupiedError) 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 to OccupiedError, InsertError structures and ErrorKind enum.