bevy_platform::collections

Module hash_set

Source
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§

  • A lazy iterator producing elements in the difference of HashSets.
  • A draining iterator over the items of a HashSet.
  • A draining iterator over entries of a HashSet which don’t satisfy the predicate f.
  • New-type for HashSet with FixedHasher as the default hashing provider. Can be trivially converted to and from a hashbrown HashSet using From.
  • A lazy iterator producing elements in the intersection of HashSets.
  • An owning iterator over the items of a HashSet.
  • An iterator over the items of a HashSet.
  • A view into an occupied entry in a HashSet. It is part of the Entry enum.
  • A lazy iterator producing elements in the symmetric difference of HashSets.
  • A lazy iterator producing elements in the union of HashSets.
  • A view into a vacant entry in a HashSet. It is part of the Entry enum.

Type Aliases§