pub struct ReductionStep {
pub before: Expr,
pub after: Expr,
pub rule: String,
}Expand description
A single step in a reduction trace.
Fields§
§before: ExprThe expression before this step.
after: ExprThe expression after this step.
rule: StringThe rule applied (human-readable description).
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