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§fn clone(&self) -> DeadCodeStats
fn clone(&self) -> DeadCodeStats
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 DeadCodeStats
impl Debug for DeadCodeStats
Source§impl Default for DeadCodeStats
impl Default for DeadCodeStats
Source§fn default() -> DeadCodeStats
fn default() -> DeadCodeStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeadCodeStats
impl RefUnwindSafe for DeadCodeStats
impl Send for DeadCodeStats
impl Sync for DeadCodeStats
impl Unpin 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