Trait bio_types::sequence::SequenceRead

source ·
pub trait SequenceRead {
    // Required methods
    fn name(&self) -> &[u8] ;
    fn base(&self, i: usize) -> u8;
    fn base_qual(&self, i: usize) -> u8;
    fn len(&self) -> usize;

    // Provided method
    fn is_empty(&self) -> bool { ... }
}

Required Methods§

source

fn name(&self) -> &[u8]

Read name.

source

fn base(&self, i: usize) -> u8

Base at position i in the read.

source

fn base_qual(&self, i: usize) -> u8

Base quality at position i in the read.

source

fn len(&self) -> usize

Read length.

Provided Methods§

source

fn is_empty(&self) -> bool

Return true if read is empty.

Implementors§