[][src]Enum rust_htslib::bam::record::Cigar

pub enum Cigar {
    Match(u32),
    Ins(u32),
    Del(u32),
    RefSkip(u32),
    SoftClip(u32),
    HardClip(u32),
    Pad(u32),
    Equal(u32),
    Diff(u32),
}

Variants

Match(u32)
Ins(u32)
Del(u32)
RefSkip(u32)
SoftClip(u32)
HardClip(u32)
Pad(u32)
Equal(u32)
Diff(u32)

Implementations

impl Cigar[src]

pub fn len(self) -> u32[src]

Return the length of the CIGAR.

pub fn is_empty(self) -> bool[src]

pub fn char(self) -> char[src]

Return the character representing the CIGAR.

Trait Implementations

impl Clone for Cigar[src]

impl Copy for Cigar[src]

impl Debug for Cigar[src]

impl Display for Cigar[src]

impl Eq for Cigar[src]

impl Hash for Cigar[src]

impl PartialEq<Cigar> for Cigar[src]

impl PartialOrd<Cigar> for Cigar[src]

impl Send for Cigar[src]

impl StructuralEq for Cigar[src]

impl StructuralPartialEq for Cigar[src]

impl Sync for Cigar[src]

Auto Trait Implementations

impl RefUnwindSafe for Cigar

impl Unpin for Cigar

impl UnwindSafe for Cigar

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.