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

pub struct IntervalTree<N, D> {
    // some fields omitted
}

Methods

impl<N: Debug + Num + Clone + Ord, D: Debug> IntervalTree<N, D>
[src]

fn new() -> Self

fn insert(&mut self, interval: Range<N>, data: D)

fn find(&self, interval: &Range<N>) -> IntervalTreeIterator<N, D>

Trait Implementations

impl<N: Clone, D: Clone> Clone for IntervalTree<N, D>
[src]

fn clone(&self) -> IntervalTree<N, D>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<N: Debug, D: Debug> Debug for IntervalTree<N, D>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<N: Eq, D: Eq> Eq for IntervalTree<N, D>
[src]

impl<N: PartialEq, D: PartialEq> PartialEq for IntervalTree<N, D>
[src]

fn eq(&self, __arg_0: &IntervalTree<N, D>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &IntervalTree<N, D>) -> bool

This method tests for !=.