Struct bam::record::sequence::Qualities[][src]

pub struct Qualities { /* fields omitted */ }
Expand description

Wrapper around qualities.

Implementations

Creates a new instance of Qualities.

Clears qualities and fills from a raw stream.

Returns raw qualities, they contain values 0-93, without +33 added.

If qualities are empty, they have the same length as Sequence, but are filled with 0xff.

Returns zero if qualities are not available.

Returns false if raw qualities have length 0 or are filled with 0xff. Only the first element is checked, O(1).

Returns vector with +33 added, O(n).

Writes to f in human readable format (qual + 33). Writes * if empty.

Clears the contents but does not touch capacity.

Extends the qualities from raw qualities (without + 33).

Shrinks inner vector.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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

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.