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 true if the linear index is empty.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.