pub struct OptimizationReport {
pub patterns_before: usize,
pub patterns_after: usize,
pub duplicates_removed: usize,
pub pruned: usize,
pub merged: usize,
pub bytes_saved: usize,
}Expand description
Result of optimization.
Fields§
§patterns_before: usize§patterns_after: usize§duplicates_removed: usize§pruned: usize§merged: usize§bytes_saved: usizeTrait Implementations§
Source§impl Clone for OptimizationReport
impl Clone for OptimizationReport
Source§fn clone(&self) -> OptimizationReport
fn clone(&self) -> OptimizationReport
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for OptimizationReport
impl RefUnwindSafe for OptimizationReport
impl Send for OptimizationReport
impl Sync for OptimizationReport
impl Unpin for OptimizationReport
impl UnsafeUnpin for OptimizationReport
impl UnwindSafe for OptimizationReport
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