Struct rust_htslib::bam::record::CigarStringView [−][src]
pub struct CigarStringView { /* fields omitted */ }
Implementations
Construct a new CigarStringView from a CigarString at a position
Get number of bases softclipped at the beginning of the alignment.
Get number of bases softclipped at the end of the alignment.
Get number of bases hardclipped at the beginning of the alignment.
Get number of bases hardclipped at the end of the alignment.
For a given position in the reference, get corresponding position within read. If reference position is outside of the read alignment, return None.
Arguments
ref_pos
- the reference positioninclude_softclips
- if true, softclips will be considered as matches or mismatchesinclude_dels
- if true, positions within deletions will be considered (first reference matching read position after deletion will be returned)
transfer ownership of the Cigar out of the CigarView
Methods from Deref<Target = CigarString>
Trait Implementations
type Target = CigarString
type Target = CigarString
The resulting type after dereferencing.
Dereferences the value.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CigarStringView
impl Send for CigarStringView
impl Sync for CigarStringView
impl Unpin for CigarStringView
impl UnwindSafe for CigarStringView
Blanket Implementations
Mutably borrows from an owned value. Read more