pub struct CompressLevel(/* private fields */);Expand description
Compression level.
Implementations§
Source§impl CompressLevel
impl CompressLevel
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 Default for CompressLevel
impl Default for CompressLevel
Source§impl Display for CompressLevel
impl Display for CompressLevel
Source§impl From<u8> for CompressLevel
impl From<u8> for CompressLevel
Source§impl Hash for CompressLevel
impl Hash for CompressLevel
Source§impl Ord for CompressLevel
impl Ord for CompressLevel
Source§fn cmp(&self, other: &CompressLevel) -> Ordering
fn cmp(&self, other: &CompressLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CompressLevel
impl PartialEq for CompressLevel
Source§impl PartialOrd for CompressLevel
impl PartialOrd for CompressLevel
impl Copy 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