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
Source§fn clone(&self) -> ReductionStep
fn clone(&self) -> ReductionStep
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 moreAuto Trait Implementations§
impl Freeze for ReductionStep
impl RefUnwindSafe for ReductionStep
impl Send for ReductionStep
impl Sync 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