Struct bio::data_structures::qgram_index::Interval [] [src]

pub struct Interval {
    pub start: usize,
    pub stop: usize,
}

An interval, consisting of start and stop position (the latter exclusive).

Fields

start: usize stop: usize

Methods

impl Interval
[src]

fn get<'a>(&self, text: &'a [u8]) -> &'a [u8]

Get the text within the given interval.

Trait Implementations

impl Clone for Interval
[src]

fn clone(&self) -> Interval

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 Copy for Interval
[src]

impl Debug for Interval
[src]

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

Formats the value using the given formatter.

impl Eq for Interval
[src]

impl PartialEq for Interval
[src]

fn eq(&self, __arg_0: &Interval) -> bool

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

fn ne(&self, __arg_0: &Interval) -> bool

This method tests for !=.