[−][src]Struct rust_htslib::bam::pileup::Alignment
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,