pub enum ReductionResult {
Reduced(Expr),
Normal(Expr),
Aborted(Expr),
}Expand description
The result of a single reduction step.
Variants§
Reduced(Expr)
The expression was reduced to a new expression.
Normal(Expr)
The expression is already in normal form (no reduction possible).
Aborted(Expr)
Reduction was aborted (e.g., step limit exceeded).
Implementations§
Source§impl ReductionResult
impl ReductionResult
Trait Implementations§
Source§impl Clone for ReductionResult
impl Clone for ReductionResult
Source§fn clone(&self) -> ReductionResult
fn clone(&self) -> ReductionResult
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 moreSource§impl Debug for ReductionResult
impl Debug for ReductionResult
Source§impl PartialEq for ReductionResult
impl PartialEq for ReductionResult
impl StructuralPartialEq for ReductionResult
Auto Trait Implementations§
impl Freeze for ReductionResult
impl RefUnwindSafe for ReductionResult
impl Send for ReductionResult
impl Sync for ReductionResult
impl Unpin for ReductionResult
impl UnsafeUnpin for ReductionResult
impl UnwindSafe for ReductionResult
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