pub struct QuotReductionStep {
pub kind: QuotReductionKind,
pub before: Expr,
pub after: Expr,
}Expand description
A single quotient reduction step (for tracing).
Fields§
§kind: QuotReductionKindWhich rule was applied.
before: ExprThe expression before reduction.
after: ExprThe expression after reduction.
Implementations§
Source§impl QuotReductionStep
impl QuotReductionStep
Sourcepub fn new(kind: QuotReductionKind, before: Expr, after: Expr) -> Self
pub fn new(kind: QuotReductionKind, before: Expr, after: Expr) -> Self
Create a new reduction step.
Trait Implementations§
Source§impl Clone for QuotReductionStep
impl Clone for QuotReductionStep
Source§fn clone(&self) -> QuotReductionStep
fn clone(&self) -> QuotReductionStep
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 QuotReductionStep
impl RefUnwindSafe for QuotReductionStep
impl Send for QuotReductionStep
impl Sync for QuotReductionStep
impl Unpin for QuotReductionStep
impl UnsafeUnpin for QuotReductionStep
impl UnwindSafe for QuotReductionStep
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