pub struct SimplStats {
pub rules_applied: usize,
pub passes_completed: usize,
pub size_before: usize,
pub size_after: usize,
}Expand description
Statistics gathered by the simplification pass.
Fields§
§rules_applied: usizeTotal number of identity rules applied.
passes_completed: usizeNumber of full simplification passes completed.
size_before: usizeNode count of the expression before simplification.
size_after: usizeNode count of the expression after simplification.
Trait Implementations§
Source§impl Clone for SimplStats
impl Clone for SimplStats
Source§fn clone(&self) -> SimplStats
fn clone(&self) -> SimplStats
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 SimplStats
impl Debug for SimplStats
Source§impl Default for SimplStats
impl Default for SimplStats
Source§fn default() -> SimplStats
fn default() -> SimplStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SimplStats
impl RefUnwindSafe for SimplStats
impl Send for SimplStats
impl Sync for SimplStats
impl Unpin for SimplStats
impl UnsafeUnpin for SimplStats
impl UnwindSafe for SimplStats
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