Skip to main content

HashMap

Type Alias HashMap 

Source
pub type HashMap<K, V, S = DefaultHashBuilder, A = Global> = HashMap<K, V, S, A>;
Expand description

SwissTable hash map. Re-export of hashbrown::HashMap<K, V, S, A> with the upstream parameter order preserved: K, V, S, A. The S slot lets callers pin a deterministic hasher (e.g. foldhash::fast::FixedState) which the shared-memory state cache requires; the heap-backed default DefaultHashBuilder is foldhash::fast::RandomState.

Aliased Typeยง

pub struct HashMap<K, V, S = DefaultHashBuilder, A = Global> { /* private fields */ }