Trait get_trait::get::Get [] [src]

pub trait Get: HasMapData {
    fn get(&self, key: &Self::Key) -> Option<&Self::Value>;

    fn contains_key(&self, key: &Self::Key) -> bool { ... }
}

A trait for getting data out of a map.

Required Methods

Gets the value at the given key.

Provided Methods

Checks whether the map contains the given key.

Implementors