Struct libz_ng_sys::z_stream
source · [−]#[repr(C)]pub struct z_stream {Show 14 fields
pub next_in: *mut Bytef,
pub avail_in: uInt,
pub total_in: usize,
pub next_out: *mut Bytef,
pub avail_out: uInt,
pub total_out: usize,
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: u32,
pub reserved: uLong,
}
Fields
next_in: *mut Bytef
avail_in: uInt
total_in: usize
next_out: *mut Bytef
avail_out: uInt
total_out: usize
msg: *mut c_char
state: *mut internal_state
zalloc: alloc_func
zfree: free_func
opaque: voidpf
data_type: c_int
adler: u32
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 · 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