Enum bam::record::cigar::Operation [−][src]
pub enum Operation {
AlnMatch,
Insertion,
Deletion,
Skip,
Soft,
Hard,
Padding,
SeqMatch,
SeqMismatch,
}Expand description
Cigar operation.
Variants
AlnMatch
Insertion
Deletion
Skip
Soft
Hard
Padding
SeqMatch
SeqMismatch
Implementations
Checks if the operation consumes query. For example, M consumes query, while D does not.
Checks if the operation consumes reference.
For example, M consumes reference, while I does not.
Returns operation class: operations combined by their behavior (soft and insertion both consume query but not reference, so they represent the same class Insertion).
Returns true if the operation consumes both query and reference (M, = or X).
Returns true if the operation consumes only reference (I or S).
Returns true if the operation consumes only query (D or N).
Returns true if the operation does not consume query nor reference (H or P).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Operation
impl UnwindSafe for Operation
Blanket Implementations
Mutably borrows from an owned value. Read more
