Skip to main content

FxHashMap

Type Alias FxHashMap 

Source
pub type FxHashMap<K, V> = HashMap<K, V, BuildHasherDefault<FxHasher>>;
Expand description

A hash map using FxHasher for fast hashing.

Aliased Type§

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

Trait Implementations§

Source§

impl<K, V> FxHashMapExt<K, V> for FxHashMap<K, V>

Source§

fn new() -> Self

Create a new empty map.
Source§

fn with_capacity(capacity: usize) -> Self

Create a new map with the given capacity.