pub struct ConversionStats {
pub exprs_visited: usize,
pub let_bindings_generated: usize,
pub lambdas_lifted: usize,
pub proofs_erased: usize,
pub types_erased: usize,
pub closures_converted: usize,
pub max_depth: usize,
pub tail_calls_detected: usize,
pub fresh_vars_allocated: usize,
pub free_var_computations: usize,
}Expand description
Statistics collected during the conversion process.
Fields§
§exprs_visited: usizeTotal number of kernel expressions visited.
let_bindings_generated: usizeNumber of let bindings generated (ANF intermediaries).
lambdas_lifted: usizeNumber of lambdas lifted to top level.
proofs_erased: usizeNumber of proof terms erased.
types_erased: usizeNumber of type arguments erased.
closures_converted: usizeNumber of closures converted.
max_depth: usizeMaximum nesting depth reached during conversion.
tail_calls_detected: usizeNumber of tail calls detected.
fresh_vars_allocated: usizeNumber of fresh variables allocated.
free_var_computations: usizeNumber of free variable computations performed.
Trait Implementations§
Source§impl Clone for ConversionStats
impl Clone for ConversionStats
Source§fn clone(&self) -> ConversionStats
fn clone(&self) -> ConversionStats
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 ConversionStats
impl Debug for ConversionStats
Source§impl Default for ConversionStats
impl Default for ConversionStats
Source§fn default() -> ConversionStats
fn default() -> ConversionStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConversionStats
impl RefUnwindSafe for ConversionStats
impl Send for ConversionStats
impl Sync for ConversionStats
impl Unpin for ConversionStats
impl UnsafeUnpin for ConversionStats
impl UnwindSafe for ConversionStats
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