[][src]Trait hayami_im::MutSymbolMap

pub trait MutSymbolMap<K>: SymbolMap<K> {
    fn get_mut<Q>(&mut self, key: &Q) -> Option<&mut Self::Value>
    where
        K: Borrow<Q>,
        Q: Hash + Eq + ?Sized
, { ... } }

A trait for a symbol table which in which entries may be infallibly mutated.

Provided methods

fn get_mut<Q>(&mut self, key: &Q) -> Option<&mut Self::Value> where
    K: Borrow<Q>,
    Q: Hash + Eq + ?Sized

Get a mutable reference to the definition of a key in the top level of this symbol table

Loading content...

Implementors

impl<K: Hash + Eq + Clone, V: Clone, S: BuildHasher> MutSymbolMap<K> for SymbolTable<K, V, S>[src]

Loading content...