Expand description
Provides HashMap and HashSet from hashbrown with some customized defaults.
Also provides the HashTable type, which is specific to hashbrown.
Provides AlignedVec based on rkyv::util::AlignedVec’s implementation but the alignment can be set at runtime.
Modules§
- aligned_
vec - Provides
AlignedVecbased on rkyv::util::AlignedVec’s implementation but the alignment can be set at runtime. - hash_
map - Provides
HashMapbased on hashbrown’s implementation. Unlikehashbrown::HashMap,HashMapdefaults toFixedHasherinstead ofRandomState. This provides determinism by default with an acceptable compromise to denial of service resistance in the context of a game engine. - hash_
set - Provides
HashSetbased on hashbrown’s implementation. Unlikehashbrown::HashSet,HashSetdefaults toFixedHasherinstead ofRandomState. 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§
- Aligned
Vec - A vector of bytes that dynamically aligns its memory to the specified alignment.
- HashMap
- New-type for
HashMapwithFixedHasheras the default hashing provider. Can be trivially converted to and from a hashbrownHashMapusingFrom. - HashSet
- New-type for
HashSetwithFixedHasheras the default hashing provider. Can be trivially converted to and from a hashbrownHashSetusingFrom. - Hash
Table - Low-level hash table with explicit hashing.
Traits§
- Equivalent
- Key equivalence trait.