[][src]Struct hts_sys::htsFile

#[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: i64line: kstring_tfn_: *mut c_charfn_aux: *mut c_charfp: htsFile__bindgen_ty_1state: *mut c_voidformat: htsFormatidx: *mut hts_idx_tfnidx: *const c_charbam_header: *mut sam_hdr_t

Methods

impl htsFile[src]

pub fn is_bin(&self) -> u32[src]

pub fn set_is_bin(&mut self, val: u32)[src]

pub fn is_write(&self) -> u32[src]

pub fn set_is_write(&mut self, val: u32)[src]

pub fn is_be(&self) -> u32[src]

pub fn set_is_be(&mut self, val: u32)[src]

pub fn is_cram(&self) -> u32[src]

pub fn set_is_cram(&mut self, val: u32)[src]

pub fn is_bgzf(&self) -> u32[src]

pub fn set_is_bgzf(&mut self, val: u32)[src]

pub fn dummy(&self) -> u32[src]

pub fn set_dummy(&mut self, val: u32)[src]

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>
[src]

Trait Implementations

impl Clone for htsFile[src]

impl Copy for htsFile[src]

Auto Trait Implementations

impl RefUnwindSafe for htsFile

impl !Send for htsFile

impl !Sync for htsFile

impl Unpin for htsFile

impl UnwindSafe for htsFile

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.