pub struct DeflateOptions(/* private fields */);
Available on crate features
compress
and deflate
only.Implementations§
Source§impl DeflateOptions
impl DeflateOptions
pub const fn from_level(level: u32) -> Self
Trait Implementations§
Source§impl Clone for DeflateOptions
impl Clone for DeflateOptions
Source§fn clone(&self) -> DeflateOptions
fn clone(&self) -> DeflateOptions
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 DeflateOptions
impl Debug for DeflateOptions
Source§impl Default for DeflateOptions
impl Default for DeflateOptions
Source§impl From<DeflateOptions> for EncoderConfiguration
impl From<DeflateOptions> for EncoderConfiguration
Source§fn from(options: DeflateOptions) -> Self
fn from(options: DeflateOptions) -> Self
Converts to this type from the input type.
Source§impl From<DeflateOptions> for EncoderOptions
impl From<DeflateOptions> for EncoderOptions
Source§fn from(o: DeflateOptions) -> Self
fn from(o: DeflateOptions) -> Self
Converts to this type from the input type.
impl Copy for DeflateOptions
Auto Trait Implementations§
impl Freeze for DeflateOptions
impl RefUnwindSafe for DeflateOptions
impl Send for DeflateOptions
impl Sync for DeflateOptions
impl Unpin for DeflateOptions
impl UnwindSafe for DeflateOptions
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