pub struct DeadCodeStats {
pub branches_eliminated: usize,
pub short_circuits: usize,
pub unused_quantifiers_removed: usize,
pub identity_simplifications: usize,
pub total_processed: usize,
}Expand description
Statistics from dead code elimination.
Fields§
§branches_eliminated: usizeNumber of conditional branches eliminated
short_circuits: usizeNumber of short-circuit evaluations applied
unused_quantifiers_removed: usizeNumber of unused quantifiers removed
identity_simplifications: usizeNumber of identity expressions simplified
total_processed: usizeTotal expressions processed
Implementations§
Source§impl DeadCodeStats
impl DeadCodeStats
Sourcepub fn total_optimizations(&self) -> usize
pub fn total_optimizations(&self) -> usize
Get total number of optimizations applied.
Trait Implementations§
Source§impl Clone for DeadCodeStats
impl Clone for DeadCodeStats
Source§impl Debug for DeadCodeStats
impl Debug for DeadCodeStats
Auto Trait Implementations§
impl Freeze for DeadCodeStats
impl RefUnwindSafe for DeadCodeStats
impl Send for DeadCodeStats
impl Sync for DeadCodeStats
impl Unpin for DeadCodeStats
impl UnsafeUnpin for DeadCodeStats
impl UnwindSafe for DeadCodeStats
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