[][src]Struct rust_htslib::bam::pileup::Alignment

pub struct Alignment<'a> { /* fields omitted */ }

An aligned read in a pileup.

Methods

impl<'a> Alignment<'a>[src]

pub fn new(inner: &'a bam_pileup1_t) -> Self[src]

pub fn qpos(&self) -> Option<usize>[src]

Position within the read. None if either is_del or is_refskip.

pub fn indel(&self) -> Indel[src]

Insertion, deletion (with length) if indel starts at next base or None otherwise.

pub fn is_del(&self) -> bool[src]

Whether there is a deletion in the alignment at this position.

pub fn is_head(&self) -> bool[src]

Whether the alignment starts at this position.

pub fn is_tail(&self) -> bool[src]

Whether the alignment ends at this position.

pub fn is_refskip(&self) -> bool[src]

Whether this position is marked as refskip in the CIGAR string.

pub fn record(&self) -> Record[src]

The corresponding record.

Trait Implementations

impl<'a> Debug for Alignment<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Alignment<'a>

impl<'a> !Send for Alignment<'a>

impl<'a> !Sync for Alignment<'a>

impl<'a> Unpin for Alignment<'a>

impl<'a> UnwindSafe for Alignment<'a>

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, 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.