#[non_exhaustive]pub struct CompressionInfo {
pub algorithm_version: u8,
pub solid: bool,
pub method: u8,
pub dictionary_power: u8,
pub dictionary_fraction: u8,
pub rar5_compat: bool,
pub dictionary_size: u64,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.algorithm_version: u8§solid: bool§method: u8§dictionary_power: u8§dictionary_fraction: u8§rar5_compat: bool§dictionary_size: u64Trait Implementations§
Source§impl Clone for CompressionInfo
impl Clone for CompressionInfo
Source§fn clone(&self) -> CompressionInfo
fn clone(&self) -> CompressionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompressionInfo
impl Debug for CompressionInfo
Source§impl PartialEq for CompressionInfo
impl PartialEq for CompressionInfo
Source§fn eq(&self, other: &CompressionInfo) -> bool
fn eq(&self, other: &CompressionInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CompressionInfo
impl Eq for CompressionInfo
impl StructuralPartialEq for CompressionInfo
Auto Trait Implementations§
impl Freeze for CompressionInfo
impl RefUnwindSafe for CompressionInfo
impl Send for CompressionInfo
impl Sync for CompressionInfo
impl Unpin for CompressionInfo
impl UnsafeUnpin for CompressionInfo
impl UnwindSafe for CompressionInfo
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