#[repr(C)]pub struct htsFile {
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
pub lineno: i64,
pub line: kstring_t,
pub fn_: *mut c_char,
pub fn_aux: *mut c_char,
pub fp: htsFile__bindgen_ty_1,
pub state: *mut c_void,
pub format: htsFormat,
pub idx: *mut hts_idx_t,
pub fnidx: *const c_char,
pub bam_header: *mut sam_hdr_t,
}
Fields§
§_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>
§lineno: i64
§line: kstring_t
§fn_: *mut c_char
§fn_aux: *mut c_char
§fp: htsFile__bindgen_ty_1
§state: *mut c_void
§format: htsFormat
§idx: *mut hts_idx_t
§fnidx: *const c_char
§bam_header: *mut sam_hdr_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], u32>
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