[][src]Struct hts_sys::BGZF

#[repr(C)]pub struct BGZF {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u16>,
    pub cache_size: c_int,
    pub block_length: c_int,
    pub block_clength: c_int,
    pub block_offset: c_int,
    pub block_address: i64,
    pub uncompressed_address: i64,
    pub uncompressed_block: *mut c_void,
    pub compressed_block: *mut c_void,
    pub cache: *mut bgzf_cache_t,
    pub fp: *mut hFILE,
    pub mt: *mut bgzf_mtaux_t,
    pub idx: *mut bgzidx_t,
    pub idx_build_otf: c_int,
    pub gz_stream: *mut z_stream_s,
    pub seeked: i64,
}

Fields

_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u16>cache_size: c_intblock_length: c_intblock_clength: c_intblock_offset: c_intblock_address: i64uncompressed_address: i64uncompressed_block: *mut c_voidcompressed_block: *mut c_voidcache: *mut bgzf_cache_tfp: *mut hFILEmt: *mut bgzf_mtaux_tidx: *mut bgzidx_tidx_build_otf: c_intgz_stream: *mut z_stream_sseeked: i64

Implementations

impl BGZF[src]

pub fn errcode(&self) -> c_uint[src]

pub fn set_errcode(&mut self, val: c_uint)[src]

pub fn reserved(&self) -> c_uint[src]

pub fn set_reserved(&mut self, val: c_uint)[src]

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

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

pub fn no_eof_block(&self) -> c_uint[src]

pub fn set_no_eof_block(&mut self, val: c_uint)[src]

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

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

pub fn compress_level(&self) -> c_int[src]

pub fn set_compress_level(&mut self, val: c_int)[src]

pub fn last_block_eof(&self) -> c_uint[src]

pub fn set_last_block_eof(&mut self, val: c_uint)[src]

pub fn is_compressed(&self) -> c_uint[src]

pub fn set_is_compressed(&mut self, val: c_uint)[src]

pub fn is_gzip(&self) -> c_uint[src]

pub fn set_is_gzip(&mut self, val: c_uint)[src]

pub fn new_bitfield_1(
    errcode: c_uint,
    reserved: c_uint,
    is_write: c_uint,
    no_eof_block: c_uint,
    is_be: c_uint,
    compress_level: c_int,
    last_block_eof: c_uint,
    is_compressed: c_uint,
    is_gzip: c_uint
) -> __BindgenBitfieldUnit<[u8; 4], u16>
[src]

Trait Implementations

impl Clone for BGZF[src]

impl Copy for BGZF[src]

impl Debug for BGZF[src]

Auto Trait Implementations

impl RefUnwindSafe for BGZF

impl !Send for BGZF

impl !Sync for BGZF

impl Unpin for BGZF

impl UnwindSafe for BGZF

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.