pub enum CompressionIntent {
Speed,
Size,
Balanced,
Compatibility,
}Expand description
Intent behind a compression choice.
Variants§
Speed
Prefer compression speed.
Size
Prefer compressed size.
Balanced
Balance speed and size.
Compatibility
Prefer compatibility with broad tooling.
Implementations§
Trait Implementations§
Source§impl Clone for CompressionIntent
impl Clone for CompressionIntent
Source§fn clone(&self) -> CompressionIntent
fn clone(&self) -> CompressionIntent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompressionIntent
impl Debug for CompressionIntent
Source§impl Default for CompressionIntent
impl Default for CompressionIntent
Source§fn default() -> CompressionIntent
fn default() -> CompressionIntent
Returns the “default value” for a type. Read more
Source§impl Hash for CompressionIntent
impl Hash for CompressionIntent
Source§impl Ord for CompressionIntent
impl Ord for CompressionIntent
Source§fn cmp(&self, other: &CompressionIntent) -> Ordering
fn cmp(&self, other: &CompressionIntent) -> Ordering
1.21.0 (const: unstable) · 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 CompressionIntent
impl PartialEq for CompressionIntent
Source§fn eq(&self, other: &CompressionIntent) -> bool
fn eq(&self, other: &CompressionIntent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CompressionIntent
impl PartialOrd for CompressionIntent
impl Copy for CompressionIntent
impl Eq for CompressionIntent
impl StructuralPartialEq for CompressionIntent
Auto Trait Implementations§
impl Freeze for CompressionIntent
impl RefUnwindSafe for CompressionIntent
impl Send for CompressionIntent
impl Sync for CompressionIntent
impl Unpin for CompressionIntent
impl UnsafeUnpin for CompressionIntent
impl UnwindSafe for CompressionIntent
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