pub struct IntervalEntry<T: Ord, V> {
pub lo: T,
pub hi: T,
pub value: V,
}Expand description
An entry in an interval map.
Fields§
§lo: TLower bound of the interval (inclusive).
hi: TUpper bound of the interval (inclusive).
value: VValue associated with this interval.
Trait Implementations§
Auto Trait Implementations§
impl<T, V> Freeze for IntervalEntry<T, V>
impl<T, V> RefUnwindSafe for IntervalEntry<T, V>where
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<T, V> Send for IntervalEntry<T, V>
impl<T, V> Sync for IntervalEntry<T, V>
impl<T, V> Unpin for IntervalEntry<T, V>
impl<T, V> UnsafeUnpin for IntervalEntry<T, V>where
T: UnsafeUnpin,
V: UnsafeUnpin,
impl<T, V> UnwindSafe for IntervalEntry<T, V>where
T: UnwindSafe,
V: UnwindSafe,
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