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
Provided Methods
fn contains_key(&self, key: &Self::Key) -> bool
Checks whether the map contains the given key.