[][src]Struct intervaltree::Element

pub struct Element<K, V> {
    pub range: Range<K>,
    pub value: V,
}

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: Clone, V: Clone> Clone for Element<K, V>[src]

impl<K: Debug, V: Debug> Debug for Element<K, V>[src]

impl<K: Eq, V: Eq> Eq for Element<K, V>[src]

impl<K, V> From<(Range<K>, V)> for Element<K, V>[src]

impl<K: Hash, V: Hash> Hash for Element<K, V>[src]

impl<K: PartialEq, V: PartialEq> PartialEq<Element<K, V>> for Element<K, V>[src]

impl<K, V> StructuralEq for Element<K, V>[src]

impl<K, V> StructuralPartialEq for Element<K, V>[src]

Auto Trait Implementations

impl<K, V> RefUnwindSafe for Element<K, V> where
    K: RefUnwindSafe,
    V: RefUnwindSafe

impl<K, V> Send for Element<K, V> where
    K: Send,
    V: Send

impl<K, V> Sync for Element<K, V> where
    K: Sync,
    V: Sync

impl<K, V> Unpin for Element<K, V> where
    K: Unpin,
    V: Unpin

impl<K, V> UnwindSafe for Element<K, V> where
    K: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.