pub struct IterationStats {
pub negation: NegationOptStats,
pub constant_folding: ConstantFoldingStats,
pub algebraic: AlgebraicSimplificationStats,
}Expand description
Statistics from a single pipeline iteration.
Fields§
§negation: NegationOptStatsNegation optimization statistics
constant_folding: ConstantFoldingStatsConstant folding statistics
algebraic: AlgebraicSimplificationStatsAlgebraic simplification statistics
Implementations§
Source§impl IterationStats
impl IterationStats
Sourcepub fn made_changes(&self) -> bool
pub fn made_changes(&self) -> bool
Check if this iteration made any changes.
Sourcepub fn total_optimizations(&self) -> usize
pub fn total_optimizations(&self) -> usize
Get total number of optimizations applied in this iteration.
Trait Implementations§
Source§impl Clone for IterationStats
impl Clone for IterationStats
Source§fn clone(&self) -> IterationStats
fn clone(&self) -> IterationStats
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 IterationStats
impl Debug for IterationStats
Source§impl Default for IterationStats
impl Default for IterationStats
Source§fn default() -> IterationStats
fn default() -> IterationStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IterationStats
impl RefUnwindSafe for IterationStats
impl Send for IterationStats
impl Sync for IterationStats
impl Unpin for IterationStats
impl UnwindSafe for IterationStats
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