Trait game_kernel_utils::MapAbstract[][src]

pub trait MapAbstract<K, V> {
    fn get<Q: Sized>(&self, k: &Q) -> Option<&V>
    where
        Self: Sized
;
fn get_mut<Q: Sized>(&mut self, k: &Q) -> Option<&mut V>
    where
        Self: Sized
; }

Required methods

fn get<Q: Sized>(&self, k: &Q) -> Option<&V> where
    Self: Sized
[src]

fn get_mut<Q: Sized>(&mut self, k: &Q) -> Option<&mut V> where
    Self: Sized
[src]

Loading content...

Implementations on Foreign Types

impl<K, V> MapAbstract<K, V> for HashMap<K, V>[src]

Loading content...

Implementors

impl<K, V, N, M, F, FM> MapAbstract<K, N> for MappedMap<K, V, N, M, F, FM> where
    M: MapAbstract<K, V>,
    F: Fn(&V) -> &N,
    FM: Fn(&mut V) -> &mut N, 
[src]

Loading content...