pub struct DeflateSettings { /* private fields */ }
Expand description
Settings for the Deflate
codec.
Implementations§
Source§impl DeflateSettings
impl DeflateSettings
pub fn new(compression_level: CompressionLevel) -> Self
Trait Implementations§
Source§impl Clone for DeflateSettings
impl Clone for DeflateSettings
Source§fn clone(&self) -> DeflateSettings
fn clone(&self) -> DeflateSettings
Returns a copy 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 DeflateSettings
impl Debug for DeflateSettings
Source§impl Default for DeflateSettings
impl Default for DeflateSettings
Source§impl PartialEq for DeflateSettings
impl PartialEq for DeflateSettings
impl Copy for DeflateSettings
impl Eq for DeflateSettings
impl StructuralPartialEq for DeflateSettings
Auto Trait Implementations§
impl Freeze for DeflateSettings
impl RefUnwindSafe for DeflateSettings
impl Send for DeflateSettings
impl Sync for DeflateSettings
impl Unpin for DeflateSettings
impl UnwindSafe for DeflateSettings
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