#[repr(C)]pub struct z_stream_s {Show 14 fields
pub next_in: *mut u8,
pub avail_in: u32,
pub total_in: u64,
pub next_out: *mut u8,
pub avail_out: u32,
pub total_out: u64,
pub msg: *mut i8,
pub state: *mut internal_state,
pub zalloc: Option<unsafe extern "C" fn(*mut c_void, u32, u32) -> *mut c_void>,
pub zfree: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>,
pub opaque: *mut c_void,
pub data_type: i32,
pub adler: u64,
pub reserved: u64,
}Fields§
§next_in: *mut u8§avail_in: u32§total_in: u64§next_out: *mut u8§avail_out: u32§total_out: u64§msg: *mut i8§state: *mut internal_state§zalloc: Option<unsafe extern "C" fn(*mut c_void, u32, u32) -> *mut c_void>§zfree: Option<unsafe extern "C" fn(*mut c_void, *mut c_void)>§opaque: *mut c_void§data_type: i32§adler: u64§reserved: u64Trait Implementations§
Source§impl Clone for z_stream_s
impl Clone for z_stream_s
Source§fn clone(&self) -> z_stream_s
fn clone(&self) -> z_stream_s
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for z_stream_s
impl Debug for z_stream_s
impl Copy for z_stream_s
Auto Trait Implementations§
impl Freeze for z_stream_s
impl RefUnwindSafe for z_stream_s
impl !Send for z_stream_s
impl !Sync for z_stream_s
impl Unpin for z_stream_s
impl UnwindSafe for z_stream_s
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