pub struct CompressionReport {
pub data_size: usize,
pub profile_cardinality: f32,
pub profile_max_run: usize,
pub selected_codec: CodecId,
pub estimated_compressed_size: usize,
pub estimated_ratio: f32,
pub estimated_speed_mb_sec: f32,
pub improvement_percent: f32,
}Expand description
Compression report
Fields§
§data_size: usize§profile_cardinality: f32§profile_max_run: usize§selected_codec: CodecId§estimated_compressed_size: usize§estimated_ratio: f32§estimated_speed_mb_sec: f32§improvement_percent: f32Trait Implementations§
Source§impl Clone for CompressionReport
impl Clone for CompressionReport
Source§fn clone(&self) -> CompressionReport
fn clone(&self) -> CompressionReport
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 moreAuto Trait Implementations§
impl Freeze for CompressionReport
impl RefUnwindSafe for CompressionReport
impl Send for CompressionReport
impl Sync for CompressionReport
impl Unpin for CompressionReport
impl UnsafeUnpin for CompressionReport
impl UnwindSafe for CompressionReport
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