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
HashSet
s. - Drain
- A draining iterator over the items of a
HashSet
. - Extract
If - A draining iterator over entries of a
HashSet
which don’t satisfy the predicatef
. - HashSet
- New-type for
HashSet
withFixedHasher
as the default hashing provider. Can be trivially converted to and from a hashbrownHashSet
usingFrom
. - Intersection
- A lazy iterator producing elements in the intersection of
HashSet
s. - 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 theEntry
enum. - Symmetric
Difference - A lazy iterator producing elements in the symmetric difference of
HashSet
s. - Union
- A lazy iterator producing elements in the union of
HashSet
s. - Vacant
Entry - A view into a vacant entry in a
HashSet
. It is part of theEntry
enum.
Type Aliases§
- Entry
- Shortcut for
Entry
withFixedHasher
as the default hashing provider.