Module wgpu_core::hash_utils

source ·
Expand description

Module for hashing utilities.

Named hash_utils to prevent clashing with the std::hash module.

Structs§

  • A hasher which does nothing. Useful for when you want to use a map with pre-hashed keys.
  • A pre-hashed key using FxHash which allows the hashing operation to be disconnected from the storage in the map.

Type Aliases§

  • HashMap using a fast, non-cryptographic hash algorithm.
  • HashSet using a fast, non-cryptographic hash algorithm.
  • IndexMap using a fast, non-cryptographic hash algorithm.
  • HashMap that uses pre-hashed keys and an identity hasher.