Module collections

Source
Expand description

Provides HashMap and HashSet from hashbrown with some customized defaults.

Also provides the HashTable type, which is specific to hashbrown.

Modules§

hash_map
Provides HashMap based on hashbrown’s implementation. Unlike hashbrown::HashMap, HashMap defaults to FixedHasher instead of RandomState. This provides determinism by default with an acceptable compromise to denial of service resistance in the context of a game engine.
hash_set
Provides HashSet based on hashbrown’s implementation. Unlike hashbrown::HashSet, HashSet defaults to FixedHasher instead of RandomState. This provides determinism by default with an acceptable compromise to denial of service resistance in the context of a game engine.
hash_table
Provides HashTable

Structs§

HashMap
New-type for HashMap with FixedHasher as the default hashing provider. Can be trivially converted to and from a hashbrown HashMap using From.
HashSet
New-type for HashSet with FixedHasher as the default hashing provider. Can be trivially converted to and from a hashbrown HashSet using From.
HashTable
Low-level hash table with explicit hashing.

Traits§

Equivalent
Key equivalence trait.