pub enum WhnfReductionOrder {
BetaFirst,
DeltaFirst,
StructuralOnly,
}Expand description
Controls the order in which WHNF reduction applies rules.
Variants§
BetaFirst
Apply beta before delta (unfold definitions).
DeltaFirst
Apply delta (unfold) before beta.
StructuralOnly
Apply only structural reductions (beta, iota, zeta).
Trait Implementations§
Source§impl Clone for WhnfReductionOrder
impl Clone for WhnfReductionOrder
Source§fn clone(&self) -> WhnfReductionOrder
fn clone(&self) -> WhnfReductionOrder
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 WhnfReductionOrder
impl Debug for WhnfReductionOrder
Source§impl Display for WhnfReductionOrder
impl Display for WhnfReductionOrder
Source§impl PartialEq for WhnfReductionOrder
impl PartialEq for WhnfReductionOrder
impl Copy for WhnfReductionOrder
impl Eq for WhnfReductionOrder
impl StructuralPartialEq for WhnfReductionOrder
Auto Trait Implementations§
impl Freeze for WhnfReductionOrder
impl RefUnwindSafe for WhnfReductionOrder
impl Send for WhnfReductionOrder
impl Sync for WhnfReductionOrder
impl Unpin for WhnfReductionOrder
impl UnsafeUnpin for WhnfReductionOrder
impl UnwindSafe for WhnfReductionOrder
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