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§fn clone(&self) -> InlineStats
fn clone(&self) -> InlineStats
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 InlineStats
impl Debug for InlineStats
Source§impl Default for InlineStats
impl Default for InlineStats
Source§fn default() -> InlineStats
fn default() -> InlineStats
Returns the “default value” for a type. Read more
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