Struct lzzzz::lz4f::Preferences
source · #[repr(C)]pub struct Preferences { /* private fields */ }
Expand description
Compression preferences.
Implementations§
source§impl Preferences
impl Preferences
sourcepub const fn frame_info(&self) -> FrameInfo
pub const fn frame_info(&self) -> FrameInfo
Returns the frame info.
sourcepub const fn compression_level(&self) -> i32
pub const fn compression_level(&self) -> i32
Returns the compression level.
sourcepub const fn auto_flush(&self) -> AutoFlush
pub const fn auto_flush(&self) -> AutoFlush
Returns the auto flush mode flag.
sourcepub const fn favor_dec_speed(&self) -> FavorDecSpeed
pub const fn favor_dec_speed(&self) -> FavorDecSpeed
Returns the decompression speed mode flag.
Trait Implementations§
source§impl Clone for Preferences
impl Clone for Preferences
source§fn clone(&self) -> Preferences
fn clone(&self) -> Preferences
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 Preferences
impl Debug for Preferences
source§impl Default for Preferences
impl Default for Preferences
source§fn default() -> Preferences
fn default() -> Preferences
Returns the “default value” for a type. Read more
source§impl From<Preferences> for PreferencesBuilder
impl From<Preferences> for PreferencesBuilder
source§fn from(prefs: Preferences) -> Self
fn from(prefs: Preferences) -> Self
Converts to this type from the input type.
source§impl Hash for Preferences
impl Hash for Preferences
source§impl PartialEq for Preferences
impl PartialEq for Preferences
source§fn eq(&self, other: &Preferences) -> bool
fn eq(&self, other: &Preferences) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Preferences
impl Eq for Preferences
impl StructuralPartialEq for Preferences
Auto Trait Implementations§
impl Freeze for Preferences
impl RefUnwindSafe for Preferences
impl Send for Preferences
impl Sync for Preferences
impl Unpin for Preferences
impl UnwindSafe for Preferences
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