pub struct OptimizationStats {
pub rules_merged: usize,
pub properties_optimized: usize,
pub selectors_optimized: usize,
pub empty_rules_removed: usize,
pub duplicate_properties_removed: usize,
pub processing_time_ms: u64,
}Expand description
Statistics for optimization operation
Fields§
§rules_merged: usizeNumber of rules merged
properties_optimized: usizeNumber of properties optimized
selectors_optimized: usizeNumber of selectors optimized
empty_rules_removed: usizeNumber of empty rules removed
duplicate_properties_removed: usizeNumber of duplicate properties removed
processing_time_ms: u64Processing time in milliseconds
Trait Implementations§
Source§impl Clone for OptimizationStats
impl Clone for OptimizationStats
Source§fn clone(&self) -> OptimizationStats
fn clone(&self) -> OptimizationStats
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 OptimizationStats
impl RefUnwindSafe for OptimizationStats
impl Send for OptimizationStats
impl Sync for OptimizationStats
impl Unpin for OptimizationStats
impl UnwindSafe for OptimizationStats
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