pub enum CompressLevel {
Fast,
Default,
Best,
}Expand description
Compress level
can be define as one of the following: FAST, DEFAULT, BEST
Variants§
Trait Implementations§
Source§impl Clone for CompressLevel
impl Clone for CompressLevel
Source§fn clone(&self) -> CompressLevel
fn clone(&self) -> CompressLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompressLevel
impl Debug for CompressLevel
Source§impl From<CompressLevel> for u8
impl From<CompressLevel> for u8
Source§fn from(orig: CompressLevel) -> Self
fn from(orig: CompressLevel) -> Self
Converts to this type from the input type.
Source§impl From<u8> for CompressLevel
impl From<u8> for CompressLevel
Source§impl Hash for CompressLevel
impl Hash for CompressLevel
Source§impl PartialEq for CompressLevel
impl PartialEq for CompressLevel
impl Eq for CompressLevel
impl StructuralPartialEq for CompressLevel
Auto Trait Implementations§
impl Freeze for CompressLevel
impl RefUnwindSafe for CompressLevel
impl Send for CompressLevel
impl Sync for CompressLevel
impl Unpin for CompressLevel
impl UnwindSafe for CompressLevel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more