[][src]Struct rust_htslib::htslib::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, }

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

Methods

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 Copy for BGZF[src]

impl Clone for BGZF[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for BGZF[src]

Auto Trait Implementations

impl !Send for BGZF

impl !Sync for BGZF

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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