Skip to main content

FxHashMap

Type Alias FxHashMap 

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

Type alias for a hash map that uses the Fx hashing algorithm.

Aliased Type§

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

Trait Implementations§

Source§

impl<K: Eq + Hash, V> LogosContains<K> for FxHashMap<K, V>

Source§

fn logos_contains(&self, key: &K) -> bool

Check if this collection contains the given value.
Source§

impl<V: Clone> LogosIndex<&str> for FxHashMap<String, V>

Source§

type Output = V

The type of element returned by indexing.
Source§

fn logos_get(&self, key: &str) -> V

Get the element at the given index.
Source§

impl<K: Eq + Hash, V: Clone> LogosIndex<K> for FxHashMap<K, V>

Source§

type Output = V

The type of element returned by indexing.
Source§

fn logos_get(&self, key: K) -> V

Get the element at the given index.
Source§

impl<V: Clone> LogosIndexMut<&str> for FxHashMap<String, V>

Source§

fn logos_set(&mut self, key: &str, value: V)

Set the element at the given index.
Source§

impl<K: Eq + Hash, V: Clone> LogosIndexMut<K> for FxHashMap<K, V>

Source§

fn logos_set(&mut self, key: K, value: V)

Set the element at the given index.