pub struct SortedMap<K, V> { /* private fields */ }Implementations§
Source§impl<K, V> SortedMap<K, V>
impl<K, V> SortedMap<K, V>
Sourcepub fn get(&self, key: K) -> Option<&V>
pub fn get(&self, key: K) -> Option<&V>
Gets the value associated with the provided key in O(log(n)) time, if it exists in the map.
Trait Implementations§
Auto Trait Implementations§
impl<K, V> Freeze for SortedMap<K, V>
impl<K, V> RefUnwindSafe for SortedMap<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for SortedMap<K, V>
impl<K, V> Sync for SortedMap<K, V>
impl<K, V> Unpin for SortedMap<K, V>
impl<K, V> UnwindSafe for SortedMap<K, V>where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more