Trait MutSymbolMap

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

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

Provided Methods§

Source

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

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§