Skip to main content

oxilean_codegen/closure_convert/
closureconvertstats_traits.rs

1//! # ClosureConvertStats - Trait Implementations
2//!
3//! This module contains trait implementations for `ClosureConvertStats`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Display`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use crate::lcnf::*;
12
13use super::types::ClosureConvertStats;
14use std::fmt;
15
16impl fmt::Display for ClosureConvertStats {
17    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
18        write!(
19            f,
20            "ClosureConvertStats {{ converted={}, lifted={}, defunc={}, stack={}, heap={}, merged={} }}",
21            self.closures_converted, self.helpers_lifted, self.defunctionalized, self
22            .stack_allocated, self.heap_allocated, self.closures_merged,
23        )
24    }
25}