pub struct Map<K, O, V> { /* private fields */ }Implementations§
Source§impl<K: Clone + Eq + Hash, O: Clone + Ord, V> Map<K, O, V>
impl<K: Clone + Eq + Hash, O: Clone + Ord, V> Map<K, O, V>
Sourcepub fn remove_smallest(&mut self) -> Option<(O, Vec<(K, V)>)>
pub fn remove_smallest(&mut self) -> Option<(O, Vec<(K, V)>)>
Removes entries with the smallest order value. Items in the result are not ordered.
Auto Trait Implementations§
impl<K, O, V> Freeze for Map<K, O, V>
impl<K, O, V> RefUnwindSafe for Map<K, O, V>
impl<K, O, V> Send for Map<K, O, V>
impl<K, O, V> Sync for Map<K, O, V>
impl<K, O, V> Unpin for Map<K, O, V>
impl<K, O, V> UnwindSafe for Map<K, O, V>
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