Type Alias wgpu_core::hash_utils::PreHashedMap

source ·
pub type PreHashedMap<K, V> = HashMap<PreHashedKey<K>, V, BuildHasherDefault<IdentityHasher>>;
Expand description

HashMap that uses pre-hashed keys and an identity hasher.

This is useful when you only need the key to lookup the value, and don’t need to store the key, particularly when the key is large.

Aliased Type§

struct PreHashedMap<K, V> { /* private fields */ }