miniz_sys

Struct mz_stream

Source
#[repr(C)]
pub struct mz_stream {
Show 14 fields pub next_in: *const u8, pub avail_in: c_uint, pub total_in: c_ulong, pub next_out: *mut u8, pub avail_out: c_uint, pub total_out: c_ulong, pub msg: *const c_char, pub state: *mut mz_internal_state, pub zalloc: Option<mz_alloc_func>, pub zfree: Option<mz_free_func>, pub opaque: *mut c_void, pub data_type: c_int, pub adler: c_ulong, pub reserved: c_ulong,
}

Fields§

§next_in: *const u8§avail_in: c_uint§total_in: c_ulong§next_out: *mut u8§avail_out: c_uint§total_out: c_ulong§msg: *const c_char§state: *mut mz_internal_state§zalloc: Option<mz_alloc_func>§zfree: Option<mz_free_func>§opaque: *mut c_void§data_type: c_int§adler: c_ulong§reserved: c_ulong

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.