pub struct OccupiedEntry<'a, T, V, Ix: IndexType = DefaultIx> { /* private fields */ }
Expand description
A view into an occupied entry in an IntervalMap
. It is part of the Entry enum.
Implementations§
Source§impl<'a, T, V, Ix: IndexType> OccupiedEntry<'a, T, V, Ix>where
T: Copy,
impl<'a, T, V, Ix: IndexType> OccupiedEntry<'a, T, V, Ix>where
T: Copy,
Sourcepub fn get_mut(&mut self) -> &mut V
pub fn get_mut(&mut self) -> &mut V
Gets a mutable reference to the value in the entry. If you need a reference to the OccupiedEntry that may outlive the destruction of the Entry value, see into_mut.
Source§impl<'a, T, V, Ix: IndexType> OccupiedEntry<'a, T, V, Ix>where
T: Copy + PartialOrd,
impl<'a, T, V, Ix: IndexType> OccupiedEntry<'a, T, V, Ix>where
T: Copy + PartialOrd,
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, V, Ix> Freeze for OccupiedEntry<'a, T, V, Ix>where
Ix: Freeze,
impl<'a, T, V, Ix> RefUnwindSafe for OccupiedEntry<'a, T, V, Ix>
impl<'a, T, V, Ix> Send for OccupiedEntry<'a, T, V, Ix>
impl<'a, T, V, Ix> Sync for OccupiedEntry<'a, T, V, Ix>
impl<'a, T, V, Ix> Unpin for OccupiedEntry<'a, T, V, Ix>where
Ix: Unpin,
impl<'a, T, V, Ix = u32> !UnwindSafe for OccupiedEntry<'a, T, V, Ix>
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