pub enum ReadOpKind {
Match,
Equal,
Diff,
Ins,
Del,
RefSkip,
SoftClip,
HardClip,
Pad,
}Expand description
CIGAR-like operation kind.
Variants§
Implementations§
Source§impl ReadOpKind
impl ReadOpKind
Sourcepub fn consumes_ref(&self) -> bool
pub fn consumes_ref(&self) -> bool
Return true if this operation consumes reference coordinates.
Sourcepub fn consumes_read(&self) -> bool
pub fn consumes_read(&self) -> bool
Return true if this operation consumes read/query coordinates.
Sourcepub fn aligned_bases(&self) -> bool
pub fn aligned_bases(&self) -> bool
Return true if this operation has aligned read bases.
Trait Implementations§
Source§impl Clone for ReadOpKind
impl Clone for ReadOpKind
Source§fn clone(&self) -> ReadOpKind
fn clone(&self) -> ReadOpKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadOpKind
impl Debug for ReadOpKind
Source§impl PartialEq for ReadOpKind
impl PartialEq for ReadOpKind
impl Copy for ReadOpKind
impl Eq for ReadOpKind
impl StructuralPartialEq for ReadOpKind
Auto Trait Implementations§
impl Freeze for ReadOpKind
impl RefUnwindSafe for ReadOpKind
impl Send for ReadOpKind
impl Sync for ReadOpKind
impl Unpin for ReadOpKind
impl UnsafeUnpin for ReadOpKind
impl UnwindSafe for ReadOpKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more