#[repr(C)]pub struct htsFile {Show 13 fields
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub lineno: i64,
pub line: kstring_t,
pub fn_: *mut i8,
pub fn_aux: *mut i8,
pub fp: htsFile__bindgen_ty_1,
pub state: *mut c_void,
pub format: htsFormat,
pub idx: *mut hts_idx_t,
pub fnidx: *const i8,
pub bam_header: *mut sam_hdr_t,
pub filter: *mut hts_filter_t,
}
Fields§
§_bitfield_align_1: [u32; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
§lineno: i64
§line: kstring_t
§fn_: *mut i8
§fn_aux: *mut i8
§fp: htsFile__bindgen_ty_1
§state: *mut c_void
§format: htsFormat
§idx: *mut hts_idx_t
§fnidx: *const i8
§bam_header: *mut sam_hdr_t
§filter: *mut hts_filter_t
Implementations§
Source§impl htsFile
impl htsFile
pub fn is_bin(&self) -> u32
pub fn set_is_bin(&mut self, val: u32)
pub fn is_write(&self) -> u32
pub fn set_is_write(&mut self, val: u32)
pub fn is_be(&self) -> u32
pub fn set_is_be(&mut self, val: u32)
pub fn is_cram(&self) -> u32
pub fn set_is_cram(&mut self, val: u32)
pub fn is_bgzf(&self) -> u32
pub fn set_is_bgzf(&mut self, val: u32)
pub fn dummy(&self) -> u32
pub fn set_dummy(&mut self, val: u32)
pub fn new_bitfield_1( is_bin: u32, is_write: u32, is_be: u32, is_cram: u32, is_bgzf: u32, dummy: u32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for htsFile
impl RefUnwindSafe for htsFile
impl !Send for htsFile
impl !Sync for htsFile
impl Unpin for htsFile
impl UnwindSafe for htsFile
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