pub struct CompressOptions { /* private fields */ }
Expand description
Options to use for compression.
Typically, you would use the default options and only change the fields you need to modify.
To ensure that the options are valid, call CompressOptions::validate after modifying the fields.
Implementations§
Trait Implementations§
Source§impl Clone for CompressOptions
impl Clone for CompressOptions
Source§fn clone(&self) -> CompressOptions
fn clone(&self) -> CompressOptions
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 CompressOptions
impl Debug for CompressOptions
Source§impl Default for CompressOptions
impl Default for CompressOptions
Source§impl From<OodleLZ_CompressOptions> for CompressOptions
impl From<OodleLZ_CompressOptions> for CompressOptions
Source§fn from(options: OodleLZ_CompressOptions) -> Self
fn from(options: OodleLZ_CompressOptions) -> Self
Converts to this type from the input type.
Source§impl Into<OodleLZ_CompressOptions> for CompressOptions
impl Into<OodleLZ_CompressOptions> for CompressOptions
Source§fn into(self) -> OodleLZ_CompressOptions
fn into(self) -> OodleLZ_CompressOptions
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for CompressOptions
impl PartialEq for CompressOptions
impl Copy for CompressOptions
impl Eq for CompressOptions
impl StructuralPartialEq for CompressOptions
Auto Trait Implementations§
impl Freeze for CompressOptions
impl RefUnwindSafe for CompressOptions
impl !Send for CompressOptions
impl !Sync for CompressOptions
impl Unpin for CompressOptions
impl UnwindSafe for CompressOptions
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