[][src]Trait map_trait::Map

pub trait Map<K, V> {
    type GetGuard: MapGuard<'a, V>;
    fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option<Self::GetGuard>
    where
        K: Borrow<Q>
;
fn insert(&mut self, k: K, v: V) -> Option<V>; }

Associated Types

type GetGuard: MapGuard<'a, V>

Loading content...

Required methods

fn get<'a, Q: ?Sized>(&'a self, k: &Q) -> Option<Self::GetGuard> where
    K: Borrow<Q>, 

fn insert(&mut self, k: K, v: V) -> Option<V>

Loading content...

Implementors

Loading content...