#[repr(C)]pub struct z_stream {Show 14 fields
pub next_in: *mut Bytef,
pub avail_in: uInt,
pub total_in: uLong,
pub next_out: *mut Bytef,
pub avail_out: uInt,
pub total_out: 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: uLong,
pub reserved: uLong,
}
Fields
next_in: *mut Bytef
avail_in: uInt
total_in: uLong
next_out: *mut Bytef
avail_out: uInt
total_out: uLong
msg: *mut c_char
state: *mut internal_state
zalloc: alloc_func
zfree: free_func
opaque: voidpf
data_type: c_int
adler: 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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