pub enum Code {
    Bases,
    Scores,
    ReadBase,
    Substitution,
    Insertion,
    Deletion,
    InsertBase,
    QualityScore,
    ReferenceSkip,
    SoftClip,
    Padding,
    HardClip,
}
Expand description

A CRAM record feature kind.

Variants

Bases

A stretch of bases (b).

Scores

A stretch of quality scores (q).

ReadBase

A (base, quality score) pair (B).

Substitution

A base substitution (CIGAR op X, M and =; X).

Insertion

Inserted bases (CIGAR op I; I).

Deletion

A number of deleted bases (CIGAR op D; D).

InsertBase

A single inserted base (CIGAR op I; i).

QualityScore

A single quality score (Q).

ReferenceSkip

A number of skipped bases (CIGAR op N; N).

SoftClip

Soft clipped bases (CIGAR op S; S).

Padding

A number of padded bases (CIGAR op P; P).

HardClip

A number of hard clipped bases (CIGAR op H, H).

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

Converts to this type from the input type.

Converts to this type from the input type.

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

This method tests for !=.

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.

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

Compare self to key and return true if they are equal.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

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.