pub struct PEStats {
pub nodes_visited: usize,
pub nodes_reduced: usize,
pub lets_inlined: usize,
pub branches_pruned: usize,
}Expand description
Statistics accumulated during a partial evaluation run.
Fields§
§nodes_visited: usizeTotal expression nodes visited.
nodes_reduced: usizeNodes that were replaced by a concrete value.
lets_inlined: usizeLet bindings that were completely eliminated (body inlined).
branches_pruned: usizeDead branches pruned due to a known boolean condition.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PEStats
impl RefUnwindSafe for PEStats
impl Send for PEStats
impl Sync for PEStats
impl Unpin for PEStats
impl UnsafeUnpin for PEStats
impl UnwindSafe for PEStats
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