pub struct CanonicalStats {
pub double_neg_removed: usize,
pub commutative_sorted: usize,
pub nested_flattened: usize,
pub total_rewrites: usize,
}Expand description
Statistics from canonicalization.
Fields§
§double_neg_removed: usizeNumber of double negations removed
commutative_sorted: usizeNumber of commutative sorts applied
nested_flattened: usizeNumber of nested same-op flattened
total_rewrites: usizeTotal rewrites performed
Implementations§
Source§impl CanonicalStats
impl CanonicalStats
Sourcepub fn merge(&mut self, other: &CanonicalStats)
pub fn merge(&mut self, other: &CanonicalStats)
Merge another stats into this one.
Trait Implementations§
Source§impl Clone for CanonicalStats
impl Clone for CanonicalStats
Source§fn clone(&self) -> CanonicalStats
fn clone(&self) -> CanonicalStats
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 moreSource§impl Debug for CanonicalStats
impl Debug for CanonicalStats
Source§impl Default for CanonicalStats
impl Default for CanonicalStats
Source§fn default() -> CanonicalStats
fn default() -> CanonicalStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CanonicalStats
impl RefUnwindSafe for CanonicalStats
impl Send for CanonicalStats
impl Sync for CanonicalStats
impl Unpin for CanonicalStats
impl UnsafeUnpin for CanonicalStats
impl UnwindSafe for CanonicalStats
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