#[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 Bytefavail_in: uInttotal_in: c_ulongnext_out: *mut Bytefavail_out: uInttotal_out: c_ulongmsg: *mut c_charstate: *mut internal_statezalloc: alloc_funczfree: free_funcopaque: voidpfdata_type: c_intadler: c_ulongreserved: uLongTrait 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more