[][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)

Methods

impl Cigar[src]

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

Return the length of the CIGAR.

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

Return the character representing the CIGAR.

Trait Implementations

impl Copy for Cigar[src]

impl PartialEq<Cigar> for Cigar[src]

impl Sync for Cigar[src]

impl Clone for Cigar[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Cigar[src]

impl Send for Cigar[src]

impl Display for Cigar[src]

impl Debug for Cigar[src]

impl Hash for Cigar[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Blanket Implementations

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> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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