Expand description

A hash map with double keys implemented as wrapper above two HashMaps.

Macros

Create a DHashMap<K1, K2, V, RandomState> from a list of sequentially given keys and values.

Structs

A hash map with double keys implemented as wrapper above two HashMaps.

The error returned by entry method when there is no way to distinguish which entry should be returned. For more information about error kinds look at ErrorKind enum.

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 is returned by try_insert method of DHashMap. For more information about error kinds look at ErrorKind enum.

An iterator over the entries of a DHashMap in arbitrary order. The iterator element is tuple of type (&'a K1, &'a K2, &'a V).

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 exist and point to the same value.

A view into a vacant entry in a DHashMap. It is part of the Entry enum.

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 exist and point to the same value (look at 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 at OccupiedError, InsertError structures and ErrorKind enum.