Struct bio::data_structures::interval_tree::Entry[][src]

pub struct Entry<'a, N: Ord + Clone, D> { /* fields omitted */ }

A find query on the interval tree does not directly return references to the nodes in the tree, but wraps the fields interval and data in an Entry.

Implementations

impl<'a, N: Ord + Clone + 'a, D: 'a> Entry<'a, N, D>[src]

pub fn data(&self) -> &'a D[src]

Get a reference to the data for this entry

pub fn interval(&self) -> &'a Interval<N>[src]

Get a reference to the interval for this entry

Trait Implementations

impl<'a, N: Clone + Ord, D: Clone> Clone for Entry<'a, N, D>[src]

impl<'a, N: Debug + Ord + Clone, D: Debug> Debug for Entry<'a, N, D>[src]

impl<'a, N: Eq + Ord + Clone, D: Eq> Eq for Entry<'a, N, D>[src]

impl<'a, N: PartialEq + Ord + Clone, D: PartialEq> PartialEq<Entry<'a, N, D>> for Entry<'a, N, D>[src]

impl<'a, N: Ord + Clone, D> StructuralEq for Entry<'a, N, D>[src]

impl<'a, N: Ord + Clone, D> StructuralPartialEq for Entry<'a, N, D>[src]

Auto Trait Implementations

impl<'a, N, D> RefUnwindSafe for Entry<'a, N, D> where
    D: RefUnwindSafe,
    N: RefUnwindSafe

impl<'a, N, D> Send for Entry<'a, N, D> where
    D: Sync,
    N: Sync

impl<'a, N, D> Sync for Entry<'a, N, D> where
    D: Sync,
    N: Sync

impl<'a, N, D> Unpin for Entry<'a, N, D>

impl<'a, N, D> UnwindSafe for Entry<'a, N, D> where
    D: RefUnwindSafe,
    N: RefUnwindSafe

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,