Struct versatiles_lib::shared::compress::TargetCompression
source · pub struct TargetCompression { /* private fields */ }Implementations§
source§impl TargetCompression
impl TargetCompression
pub fn from_set(compressions: EnumSet<Compression>) -> Self
pub fn from(compression: Compression) -> Self
pub fn from_none() -> Self
pub fn set_best_compression(&mut self, best_compression: bool)
pub fn contains(&self, compression: Compression) -> bool
pub fn insert(&mut self, compression: Compression)
Trait Implementations§
source§impl Debug for TargetCompression
impl Debug for TargetCompression
source§impl PartialEq<TargetCompression> for TargetCompression
impl PartialEq<TargetCompression> for TargetCompression
source§fn eq(&self, other: &TargetCompression) -> bool
fn eq(&self, other: &TargetCompression) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TargetCompression
Auto Trait Implementations§
impl RefUnwindSafe for TargetCompression
impl Send for TargetCompression
impl Sync for TargetCompression
impl Unpin for TargetCompression
impl UnwindSafe for TargetCompression
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