pub fn hash_map<K: Hash, V: Hash, H: Hasher>(map: &HashMap<K, V>, hasher: &mut H)
Expand description

Hash a HashMap.

The standard library does not provide (yet) a Hash implementation for the HashMap type. This can be used instead.

Note that this function not particularly strong and does not protect against DoS attacks.