pub struct InlineStats {
pub single_use_inlines: u64,
pub constant_inlines: u64,
pub variable_inlines: u64,
pub nodes_before: u64,
pub nodes_after: u64,
pub passes: u32,
}Expand description
Statistics collected by the let-inlining pass.
Fields§
§single_use_inlines: u64Number of bindings inlined because the variable had exactly one free occurrence in the body (and the value was not a constant or alias).
constant_inlines: u64Number of bindings inlined because the value was a constant literal.
variable_inlines: u64Number of bindings inlined because the value was a variable alias (zero-argument predicate).
nodes_before: u64Total node count before the first pass.
nodes_after: u64Total node count after the final pass.
passes: u32Number of passes executed.
Implementations§
Trait Implementations§
Source§impl Clone for InlineStats
impl Clone for InlineStats
Source§impl Debug for InlineStats
impl Debug for InlineStats
Auto Trait Implementations§
impl Freeze for InlineStats
impl RefUnwindSafe for InlineStats
impl Send for InlineStats
impl Sync for InlineStats
impl Unpin for InlineStats
impl UnsafeUnpin for InlineStats
impl UnwindSafe for InlineStats
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