Struct UHashMap
pub struct UHashMap<K, V, B>
{ /* private fields */ }
Implementations
impl<B, K, V> UHashMap<K, V, B>
pub fn with_hasher(_build_hasher: B) -> Self
where
B: BuildHasher
pub fn with_hasher_and_capacity(_build_hasher: B, capacity: u32) -> Self
where
B: BuildHasher
pub fn clear(&mut self)
pub fn contains_key(self, key: K) -> bool
pub fn is_empty(self) -> bool
pub fn entries(self) -> [(K, V)]
pub fn keys(self) -> [K]
pub fn values(self) -> [V]
pub unconstrained fn iter_mut(&mut self, f: fn(K, V) -> (K, V))
pub unconstrained fn iter_keys_mut(&mut self, f: fn(K) -> K)
pub fn iter_values_mut(&mut self, f: fn(V) -> V)
pub fn retain(&mut self, f: fn(K, V) -> bool)
pub fn len(self) -> u32
pub fn capacity(self) -> u32
pub unconstrained fn get(self, key: K) -> Option<V>
pub unconstrained fn insert(&mut self, key: K, value: V)
pub unconstrained fn remove(&mut self, key: K)
Trait implementations
impl<B, K, V> Default for UHashMap<K, V, B>
where
B: BuildHasher,
B: Default
where
B: BuildHasher,
B: Default
pub fn default() -> Self
impl<B, K, V> Eq for UHashMap<K, V, B>
pub fn eq(self, other: Self) -> bool