Enum miniz_oxide::MZFlush [−][src]
#[repr(i32)]pub enum MZFlush { None, Partial, Sync, Full, Finish, Block, }
A list of flush types.
Variants
None
Partial
Sync
Full
Finish
Block
Methods
impl MZFlush
[src]
impl MZFlush
pub fn new(flush: c_int) -> Result<Self, MZError>
[src]
pub fn new(flush: c_int) -> Result<Self, MZError>
Create a Flush instance from an integer value.
Returns MZError::Param
on invalid values.
Trait Implementations
impl From<MZFlush> for TDEFLFlush
[src]
impl From<MZFlush> for TDEFLFlush
impl Debug for MZFlush
[src]
impl Debug for MZFlush
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 Copy for MZFlush
[src]
impl Copy for MZFlush
impl Clone for MZFlush
[src]
impl Clone for MZFlush
fn clone(&self) -> MZFlush
[src]
fn clone(&self) -> MZFlush
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for MZFlush
[src]
impl PartialEq for MZFlush
fn eq(&self, other: &MZFlush) -> bool
[src]
fn eq(&self, other: &MZFlush) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for MZFlush
[src]
impl Eq for MZFlush
impl Hash for MZFlush
[src]
impl Hash for MZFlush