Struct bam::index::LinearIndex [−][src]
pub struct LinearIndex { /* fields omitted */ }Expand description
Stores linear index: for each tiling 16384bp window it stores the smallest file offset of an alignment that overlaps it.
Implementations
Returns the first offset. Panics, if the index is empty.
Returns a slice where each element represents
a first window with a specific offset in form of (index, offset).
Retuns an offset x, such that for a region with genomic coordinates [start-end) we only need to visit chunks with end offset > x.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LinearIndex
impl Send for LinearIndex
impl Sync for LinearIndex
impl Unpin for LinearIndex
impl UnwindSafe for LinearIndex
Blanket Implementations
Mutably borrows from an owned value. Read more
