Struct bzip2_sys::bz_stream

source ·
#[repr(C)]
pub struct bz_stream { pub next_in: *mut c_char, pub avail_in: c_uint, pub total_in_lo32: c_uint, pub total_in_hi32: c_uint, pub next_out: *mut c_char, pub avail_out: c_uint, pub total_out_lo32: c_uint, pub total_out_hi32: c_uint, pub state: *mut c_void, pub bzalloc: Option<extern "C" fn(_: *mut c_void, _: c_int, _: c_int) -> *mut c_void>, pub bzfree: Option<extern "C" fn(_: *mut c_void, _: *mut c_void)>, pub opaque: *mut c_void, }

Fields

next_in: *mut c_charavail_in: c_uinttotal_in_lo32: c_uinttotal_in_hi32: c_uintnext_out: *mut c_charavail_out: c_uinttotal_out_lo32: c_uinttotal_out_hi32: c_uintstate: *mut c_voidbzalloc: Option<extern "C" fn(_: *mut c_void, _: c_int, _: c_int) -> *mut c_void>bzfree: Option<extern "C" fn(_: *mut c_void, _: *mut c_void)>opaque: *mut c_void

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.