pub struct VacantEntry<'a, T, V, Ix> {
pub map_ref: &'a mut IntervalMap<T, V, Ix>,
pub interval: Interval<T>,
}Expand description
A view into a vacant entry in a IntervalMap.
It is part of the Entry enum.
Fields§
§map_ref: &'a mut IntervalMap<T, V, Ix>Mutable reference to the map
interval: Interval<T>The interval of this entry
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, V, Ix> Freeze for VacantEntry<'a, T, V, Ix>where
T: Freeze,
impl<'a, T, V, Ix> RefUnwindSafe for VacantEntry<'a, T, V, Ix>
impl<'a, T, V, Ix> Send for VacantEntry<'a, T, V, Ix>
impl<'a, T, V, Ix> Sync for VacantEntry<'a, T, V, Ix>
impl<'a, T, V, Ix> Unpin for VacantEntry<'a, T, V, Ix>where
T: Unpin,
impl<'a, T, V, Ix> !UnwindSafe for VacantEntry<'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