Trait cc_traits::Get [−][src]
Queryable collection.
Required methods
fn get(&self, key: T) -> Option<&Self::Item>
[src]
Returns a reference to the item stored behind the given key (if any).
Provided methods
fn contains(&self, key: T) -> bool
[src]
Checks if the collection contains an item behind the given key.
Implementations on Foreign Types
impl<'a, Q: ?Sized, K: Ord, V> Get<&'a Q> for BTreeMap<K, V> where
K: Borrow<Q>,
Q: Ord,
[src]
K: Borrow<Q>,
Q: Ord,
impl<'a, Q: ?Sized, T: Ord> Get<&'a Q> for BTreeSet<T> where
T: Borrow<Q>,
Q: Ord,
[src]
T: Borrow<Q>,
Q: Ord,
impl<'a, Q: ?Sized, K: Hash + Eq, V> Get<&'a Q> for HashMap<K, V> where
K: Borrow<Q>,
Q: Hash + Eq,
[src]
K: Borrow<Q>,
Q: Hash + Eq,
impl<'a, Q: ?Sized, T: Hash + Eq> Get<&'a Q> for HashSet<T> where
T: Borrow<Q>,
Q: Hash + Eq,
[src]
Loading content...T: Borrow<Q>,
Q: Hash + Eq,