Expand description
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.
Structs§
- Difference
- A lazy iterator producing elements in the difference of
HashSets. - Drain
- A draining iterator over the items of a
HashSet. - Extract
If - A draining iterator over entries of a
HashSetwhich don’t satisfy the predicatef. - HashSet
- New-type for
HashSetwithFixedHasheras the default hashing provider. Can be trivially converted to and from a hashbrownHashSetusingFrom. - Intersection
- A lazy iterator producing elements in the intersection of
HashSets. - Into
Iter - An owning iterator over the items of a
HashSet. - Iter
- An iterator over the items of a
HashSet. - Occupied
Entry - A view into an occupied entry in a
HashSet. It is part of theEntryenum. - Symmetric
Difference - A lazy iterator producing elements in the symmetric difference of
HashSets. - Union
- A lazy iterator producing elements in the union of
HashSets. - Vacant
Entry - A view into a vacant entry in a
HashSet. It is part of theEntryenum.
Type Aliases§
- Entry
- Shortcut for
EntrywithFixedHasheras the default hashing provider.