pub struct IntervalVec<K, V, S = K> { /* private fields */ }Expand description
Non-overlapping interval tree based on two Vecs
Implementations§
Source§impl<K, V, S> IntervalVec<K, V, S>
impl<K, V, S> IntervalVec<K, V, S>
Trait Implementations§
Source§impl<K: Clone, V: Clone, S: Clone> Clone for IntervalVec<K, V, S>
impl<K: Clone, V: Clone, S: Clone> Clone for IntervalVec<K, V, S>
Source§fn clone(&self) -> IntervalVec<K, V, S>
fn clone(&self) -> IntervalVec<K, V, S>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<K, V, S> From<IntervalBTreeMap<K, V, S>> for IntervalVec<K, V, S>
impl<K, V, S> From<IntervalBTreeMap<K, V, S>> for IntervalVec<K, V, S>
Source§fn from(btree_map: IntervalBTreeMap<K, V, S>) -> Self
fn from(btree_map: IntervalBTreeMap<K, V, S>) -> Self
Converts to this type from the input type.
Source§impl<K, V, S> From<IntervalVec<K, V, S>> for IntervalBTreeMap<K, V, S>where
K: Ord,
impl<K, V, S> From<IntervalVec<K, V, S>> for IntervalBTreeMap<K, V, S>where
K: Ord,
Source§fn from(vecs: IntervalVec<K, V, S>) -> Self
fn from(vecs: IntervalVec<K, V, S>) -> Self
Converts to this type from the input type.
Source§impl<K, V, S> From<IntervalVec<K, V, S>> for Intervals<K, V, S>
impl<K, V, S> From<IntervalVec<K, V, S>> for Intervals<K, V, S>
Source§fn from(value: IntervalVec<K, V, S>) -> Self
fn from(value: IntervalVec<K, V, S>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<K, V, S> Freeze for IntervalVec<K, V, S>
impl<K, V, S> RefUnwindSafe for IntervalVec<K, V, S>
impl<K, V, S> Send for IntervalVec<K, V, S>
impl<K, V, S> Sync for IntervalVec<K, V, S>
impl<K, V, S> Unpin for IntervalVec<K, V, S>
impl<K, V, S> UnsafeUnpin for IntervalVec<K, V, S>
impl<K, V, S> UnwindSafe for IntervalVec<K, V, S>
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