Skip to main content

GetMut

Trait GetMut 

Source
pub trait GetMut<Q>: Get<Q> {
    // Required method
    fn get_mut(&mut self, key: &Q) -> Option<&mut Self::Value>;
}

Required Methods§

Source

fn get_mut(&mut self, key: &Q) -> Option<&mut Self::Value>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§