pub struct CompressionReport {
pub mode: CompressionMode,
pub compressed_primitives: usize,
pub encoded_bytes: usize,
pub source_bytes: usize,
pub output_bytes: usize,
pub reclaimed_bytes: usize,
}Expand description
Measured result of one Import::compress_primitive operation.
Fields§
§mode: CompressionModeExport policy used for the transformed primitive.
compressed_primitives: usizeNumber of primitives encoded by the operation.
encoded_bytes: usizeBytes in the newly encoded Draco payload.
source_bytes: usizeTotal resolved binary bytes before the transform.
output_bytes: usizeTotal resolved binary bytes after the transform.
reclaimed_bytes: usizeBytes removed from the resolved binary store; zero for a fallback that retains all ordinary geometry.
Trait 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 moreSource§impl Debug for CompressionReport
impl Debug for CompressionReport
Source§impl Default for CompressionReport
impl Default for CompressionReport
Source§fn default() -> CompressionReport
fn default() -> CompressionReport
Returns the “default value” for a type. Read more
Auto 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