pub struct ConstantFoldingStats {
pub binary_ops_folded: usize,
pub unary_ops_folded: usize,
pub total_processed: usize,
}Expand description
Statistics from constant folding optimization.
Fields§
§binary_ops_folded: usizeNumber of binary operations folded
unary_ops_folded: usizeNumber of unary operations folded
total_processed: usizeTotal expressions processed
Trait Implementations§
Source§impl Clone for ConstantFoldingStats
impl Clone for ConstantFoldingStats
Source§fn clone(&self) -> ConstantFoldingStats
fn clone(&self) -> ConstantFoldingStats
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 ConstantFoldingStats
impl Debug for ConstantFoldingStats
Source§impl Default for ConstantFoldingStats
impl Default for ConstantFoldingStats
Source§fn default() -> ConstantFoldingStats
fn default() -> ConstantFoldingStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConstantFoldingStats
impl RefUnwindSafe for ConstantFoldingStats
impl Send for ConstantFoldingStats
impl Sync for ConstantFoldingStats
impl Unpin for ConstantFoldingStats
impl UnwindSafe for ConstantFoldingStats
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