#[repr(C)]pub struct z_stream {Show 14 fields
pub next_in: *mut Bytef,
pub avail_in: uInt,
pub total_in: c_ulong,
pub next_out: *mut Bytef,
pub avail_out: uInt,
pub total_out: c_ulong,
pub msg: *mut c_char,
pub state: *mut internal_state,
pub zalloc: alloc_func,
pub zfree: free_func,
pub opaque: voidpf,
pub data_type: c_int,
pub adler: c_ulong,
pub reserved: uLong,
}
Fields§
§next_in: *mut Bytef
§avail_in: uInt
§total_in: c_ulong
§next_out: *mut Bytef
§avail_out: uInt
§total_out: c_ulong
§msg: *mut c_char
§state: *mut internal_state
§zalloc: alloc_func
§zfree: free_func
§opaque: voidpf
§data_type: c_int
§adler: c_ulong
§reserved: uLong
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for z_stream
impl !Send for z_stream
impl !Sync for z_stream
impl Unpin for z_stream
impl UnwindSafe for z_stream
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