Enum miniz_oxide::deflate::core::TDEFLFlush
source · [−]pub enum TDEFLFlush {
None,
Sync,
Full,
Finish,
}
Expand description
A list of deflate flush types.
Variants
None
Compress as much as there is space for, and then return waiting for more input.
Sync
Try to flush the current data and output an empty raw block.
Full
Same as sync, but reset the dictionary so that the following data does not depend on previous data.
Finish
Try to flush everything and end the stream.
Implementations
Trait Implementations
sourceimpl Clone for TDEFLFlush
impl Clone for TDEFLFlush
sourcefn clone(&self) -> TDEFLFlush
fn clone(&self) -> TDEFLFlush
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TDEFLFlush
impl Debug for TDEFLFlush
sourceimpl From<MZFlush> for TDEFLFlush
impl From<MZFlush> for TDEFLFlush
sourceimpl Hash for TDEFLFlush
impl Hash for TDEFLFlush
sourceimpl PartialEq<TDEFLFlush> for TDEFLFlush
impl PartialEq<TDEFLFlush> for TDEFLFlush
impl Copy for TDEFLFlush
impl Eq for TDEFLFlush
impl StructuralEq for TDEFLFlush
impl StructuralPartialEq for TDEFLFlush
Auto Trait Implementations
impl RefUnwindSafe for TDEFLFlush
impl Send for TDEFLFlush
impl Sync for TDEFLFlush
impl Unpin for TDEFLFlush
impl UnwindSafe for TDEFLFlush
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