pub struct LambdaStats {
pub lambda_count: usize,
pub pi_count: usize,
pub app_count: usize,
pub let_count: usize,
pub max_depth: usize,
}Expand description
Statistics about an expression’s lambda structure.
Fields§
§lambda_count: usizeTotal number of lambda binders.
pi_count: usizeTotal number of pi binders.
app_count: usizeTotal number of application nodes.
let_count: usizeTotal number of let binders.
max_depth: usizeMaximum nesting depth encountered.
Implementations§
Source§impl LambdaStats
impl LambdaStats
Trait Implementations§
Source§impl Clone for LambdaStats
impl Clone for LambdaStats
Source§fn clone(&self) -> LambdaStats
fn clone(&self) -> LambdaStats
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 LambdaStats
impl Debug for LambdaStats
Source§impl Default for LambdaStats
impl Default for LambdaStats
Source§fn default() -> LambdaStats
fn default() -> LambdaStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LambdaStats
impl RefUnwindSafe for LambdaStats
impl Send for LambdaStats
impl Sync for LambdaStats
impl Unpin for LambdaStats
impl UnsafeUnpin for LambdaStats
impl UnwindSafe for LambdaStats
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