pub struct ReductionStep {
pub rule: ReductionRule,
pub before: Expr,
pub after: Expr,
}Expand description
A reduction step record used for debugging and tracing.
Fields§
§rule: ReductionRuleWhich reduction rule was applied.
before: ExprThe expression before reduction.
after: ExprThe expression after reduction.
Trait Implementations§
Source§impl Clone for ReductionStep
impl Clone for ReductionStep
Auto Trait Implementations§
impl !Send for ReductionStep
impl !Sync for ReductionStep
impl Forget for ReductionStep
impl Freeze for ReductionStep
impl Move for ReductionStep
impl RefUnwindSafe for ReductionStep
impl Unpin for ReductionStep
impl UnsafeUnpin for ReductionStep
impl UnwindSafe for ReductionStep
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