Struct rust_htslib::htslib::bam_pileup1_t
[−]
[src]
#[repr(C)]pub struct bam_pileup1_t { pub b: *mut bam1_t, pub qpos: i32, pub indel: c_int, pub level: c_int, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>, pub cd: bam_pileup_cd, }
@typedef @abstract Structure for one alignment covering the pileup position. @field b pointer to the alignment @field qpos position of the read base at the pileup site, 0-based @field indel indel length; 0 for no indel, positive for ins and negative for del @field level the level of the read in the "viewer" mode @field is_del 1 iff the base on the padded read is a deletion @field is_head ??? @field is_tail ??? @field is_refskip ??? @field aux ???
@discussion See also bam_plbuf_push() and bam_lplbuf_push(). The difference between the two functions is that the former does not set bam_pileup1_t::level, while the later does. Level helps the implementation of alignment viewers, but calculating this has some overhead.
Fields
b: *mut bam1_t
qpos: i32
indel: c_int
level: c_int
_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>
cd: bam_pileup_cd
Methods
impl bam_pileup1_t
[src]
pub fn is_del(&self) -> u32
[src]
pub fn set_is_del(&mut self, val: u32)
[src]
pub fn is_head(&self) -> u32
[src]
pub fn set_is_head(&mut self, val: u32)
[src]
pub fn is_tail(&self) -> u32
[src]
pub fn set_is_tail(&mut self, val: u32)
[src]
pub fn is_refskip(&self) -> u32
[src]
pub fn set_is_refskip(&mut self, val: u32)
[src]
pub fn aux(&self) -> u32
[src]
pub fn set_aux(&mut self, val: u32)
[src]
pub fn new_bitfield_1(
is_del: u32,
is_head: u32,
is_tail: u32,
is_refskip: u32,
aux: u32
) -> __BindgenBitfieldUnit<[u8; 4], u32>
[src]
is_del: u32,
is_head: u32,
is_tail: u32,
is_refskip: u32,
aux: u32
) -> __BindgenBitfieldUnit<[u8; 4], u32>
Trait Implementations
impl Copy for bam_pileup1_t
[src]
impl Clone for bam_pileup1_t
[src]
fn clone(&self) -> bam_pileup1_t
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more