Struct kernel::rbtree::OccupiedEntry  
source · pub struct OccupiedEntry<'a, K, V> { /* private fields */ }Expand description
Implementations§
source§impl<'a, K, V> OccupiedEntry<'a, K, V>
 
impl<'a, K, V> OccupiedEntry<'a, K, V>
sourcepub fn into_mut(self) -> &'a mut V
 
pub fn into_mut(self) -> &'a mut V
Converts the entry into a mutable reference to its value.
If you need multiple references to the OccupiedEntry, see self.
sourcepub fn remove_node(self) -> RBTreeNode<K, V>
 
pub fn remove_node(self) -> RBTreeNode<K, V>
Remove this entry from the RBTree.
Auto Trait Implementations§
impl<'a, K, V> Freeze for OccupiedEntry<'a, K, V>
impl<'a, K, V> RefUnwindSafe for OccupiedEntry<'a, K, V>where
    K: RefUnwindSafe,
    V: RefUnwindSafe,
impl<'a, K, V> !Send for OccupiedEntry<'a, K, V>
impl<'a, K, V> !Sync for OccupiedEntry<'a, K, V>
impl<'a, K, V> Unpin for OccupiedEntry<'a, K, V>
impl<'a, K, V> !UnwindSafe for OccupiedEntry<'a, K, 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