#[repr(C)]pub struct YaraAlignmentRecord {Show 22 fields
pub read_pair_index: u32,
pub is_read1: u8,
pub contig_id: u32,
pub pos: u32,
pub is_reverse: u8,
pub is_secondary: u8,
pub is_unmapped: u8,
pub mapq: u8,
pub nm: u8,
pub x0: u16,
pub x1: u16,
pub mate_contig_id: u32,
pub mate_pos: u32,
pub tlen: i32,
pub flag: u16,
pub cigar: *mut u32,
pub cigar_len: u32,
pub seq: *const c_char,
pub qual: *const c_char,
pub seq_len: u32,
pub xa: *const c_char,
pub _pool_managed: u8,
}Expand description
A single alignment record returned by the mapper.
Fields§
§read_pair_index: u32§is_read1: u8§contig_id: u32§pos: u32§is_reverse: u8§is_secondary: u8§is_unmapped: u8§mapq: u8§nm: u8§x0: u16§x1: u16§mate_contig_id: u32§mate_pos: u32§tlen: i32§flag: u16§cigar: *mut u32§cigar_len: u32§seq: *const c_char§qual: *const c_char§seq_len: u32§xa: *const c_char§_pool_managed: u8Trait Implementations§
Source§impl Clone for YaraAlignmentRecord
impl Clone for YaraAlignmentRecord
Source§fn clone(&self) -> YaraAlignmentRecord
fn clone(&self) -> YaraAlignmentRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for YaraAlignmentRecord
impl RefUnwindSafe for YaraAlignmentRecord
impl !Send for YaraAlignmentRecord
impl !Sync for YaraAlignmentRecord
impl Unpin for YaraAlignmentRecord
impl UnsafeUnpin for YaraAlignmentRecord
impl UnwindSafe for YaraAlignmentRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more