pub enum WfaOp {
Match,
Mismatch,
Ins,
Del,
}Expand description
A single edit operation of a WFA alignment, in left-to-right order.
The convention is:
WfaOp::Match/WfaOp::Mismatchconsume one character of bothaandb.WfaOp::Insis a gap ina; it consumes one character ofbonly.WfaOp::Delis a gap inb; it consumes one character ofaonly.
Variants§
Match
Aligned, equal characters (a[i] == b[j]).
Mismatch
Aligned, unequal characters (a[i] != b[j]).
Ins
Insertion: gap in a, consumes b[j].
Del
Deletion: gap in b, consumes a[i].
Trait Implementations§
impl Copy for WfaOp
impl Eq for WfaOp
impl StructuralPartialEq for WfaOp
Auto Trait Implementations§
impl Freeze for WfaOp
impl RefUnwindSafe for WfaOp
impl Send for WfaOp
impl Sync for WfaOp
impl Unpin for WfaOp
impl UnsafeUnpin for WfaOp
impl UnwindSafe for WfaOp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more