[−][src]Struct miniz_oxide_c_api::lib_oxide::mz_stream
Inner stream state containing pointers to the used buffers and internal state.
Fields
next_in: *const u8
Pointer to the current start of the input buffer.
avail_in: c_uint
Length of the input buffer.
total_in: c_ulong
The total number of input bytes consumed so far.
next_out: *mut u8
Pointer to the current start of the output buffer.
avail_out: c_uint
Space in the output buffer.
total_out: c_ulong
The total number of bytes output so far.
msg: *const c_char
state: *mut mz_internal_state
Unused
zalloc: Option<mz_alloc_func>
Allocation function to use for allocating the internal compressor/decompressor.
Uses mz_default_alloc_func
if set to None
.
zfree: Option<mz_free_func>
Free function to use for allocating the internal compressor/decompressor.
Uses mz_default_free_func
if None
.
opaque: *mut c_void
Extra data to provide the allocation/deallocation functions. (Not used for the default ones)
data_type: c_int
adler: c_uint
Adler32 checksum of the data that has been compressed or uncompressed.
reserved: c_ulong
Reserved
Trait Implementations
impl Debug for mz_stream
[src]
impl Debug for mz_stream
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for mz_stream
[src]
impl Default for mz_stream
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
ⓘImportant traits for &'a mut Rfn borrow(&self) -> &T
[src]
fn borrow(&self) -> &T
Immutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
ⓘImportant traits for &'a mut Rfn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more