pub struct OccupiedEntry<'a, A: ?Sized + UncheckedAnyExt> { /* private fields */ }
Expand description
A view into a single occupied location in a RawMap
.
Implementations§
Source§impl<'a, A: ?Sized + UncheckedAnyExt> OccupiedEntry<'a, A>
impl<'a, A: ?Sized + UncheckedAnyExt> OccupiedEntry<'a, A>
Sourcepub fn into_mut(self) -> &'a mut A
pub fn into_mut(self) -> &'a mut A
Converts the OccupiedEntry into a mutable reference to the value in the entry with a lifetime bound to the collection itself.
Auto Trait Implementations§
impl<'a, A> Freeze for OccupiedEntry<'a, A>where
A: ?Sized,
impl<'a, A> RefUnwindSafe for OccupiedEntry<'a, A>where
A: RefUnwindSafe + ?Sized,
impl<'a, A> Send for OccupiedEntry<'a, A>
impl<'a, A> Sync for OccupiedEntry<'a, A>
impl<'a, A> Unpin for OccupiedEntry<'a, A>where
A: ?Sized,
impl<'a, A> !UnwindSafe for OccupiedEntry<'a, A>
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