[][src]Trait symbolmap_trait::MutSymbolMap

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

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

Provided methods

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

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

Loading content...

Implementors

Loading content...