Trait data_structure_traits::Get
[−]
[src]
pub trait Get<K: ?Sized> where
K: , { type Output: ?Sized; fn get(&self, _: K) -> Option<&Self::Output>; }
Associated Types
Required Methods
Implementors
impl<'a, K, Q: ?Sized, V, S> Get<&'a Q> for HashMap<K, V, S> where
K: Eq + Hash + Borrow<Q>,
Q: Eq + Hash,
S: BuildHasher, type Output = V;impl<'a, K, Q: ?Sized, V> Get<&'a Q> for BTreeMap<K, V> where
K: Eq + Ord + Borrow<Q>,
Q: Eq + Ord, type Output = V;impl<T> Get<usize> for LinkedList<T> type Output = T;
impl<T> Get<usize> for Vec<T> type Output = T;