pub struct Element<K, V> {
pub range: Range<K>,
pub value: V,
}
Expand description
An element of an interval tree.
Fields§
§range: Range<K>
The range associated with this element.
value: V
The value associated with this element.
Trait Implementations§
impl<K: Eq, V: Eq> Eq for Element<K, V>
impl<K, V> StructuralPartialEq for Element<K, V>
Auto Trait Implementations§
impl<K, V> Freeze for Element<K, V>
impl<K, V> RefUnwindSafe for Element<K, V>where
V: RefUnwindSafe,
K: RefUnwindSafe,
impl<K, V> Send for Element<K, V>
impl<K, V> Sync for Element<K, V>
impl<K, V> Unpin for Element<K, V>
impl<K, V> UnwindSafe for Element<K, V>where
V: UnwindSafe,
K: 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