pub struct VacantEntry<'a, K, V> { /* private fields */ }Implementations§
Source§impl<'a, K, V> VacantEntry<'a, K, V>
 
impl<'a, K, V> VacantEntry<'a, K, V>
Sourcepub fn insert(
    self,
    value: V,
    reservation: RBTreeNodeReservation<K, V>,
) -> &'a mut V
 
pub fn insert( self, value: V, reservation: RBTreeNodeReservation<K, V>, ) -> &'a mut V
Inserts the given node into the RBTree at this entry.
Auto Trait Implementations§
impl<'a, K, V> Freeze for VacantEntry<'a, K, V>where
    K: Freeze,
impl<'a, K, V> RefUnwindSafe for VacantEntry<'a, K, V>where
    K: RefUnwindSafe,
    V: RefUnwindSafe,
impl<'a, K, V> !Send for VacantEntry<'a, K, V>
impl<'a, K, V> !Sync for VacantEntry<'a, K, V>
impl<'a, K, V> Unpin for VacantEntry<'a, K, V>where
    K: Unpin,
impl<'a, K, V> !UnwindSafe for VacantEntry<'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