pub enum EtaOutcome {
AlreadyNormal,
Reduced,
NotApplicable,
DepthLimitExceeded,
}Expand description
Records the outcome of an eta-reduction attempt.
Variants§
AlreadyNormal
The expression was already in eta-normal form.
Reduced
The expression was reduced successfully.
NotApplicable
The expression could not be reduced (not an eta-redex).
DepthLimitExceeded
Reduction was aborted due to exceeding depth limit.
Implementations§
Source§impl EtaOutcome
impl EtaOutcome
Trait Implementations§
Source§impl Clone for EtaOutcome
impl Clone for EtaOutcome
Source§fn clone(&self) -> EtaOutcome
fn clone(&self) -> EtaOutcome
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 EtaOutcome
impl Debug for EtaOutcome
Source§impl PartialEq for EtaOutcome
impl PartialEq for EtaOutcome
impl Copy for EtaOutcome
impl Eq for EtaOutcome
impl StructuralPartialEq for EtaOutcome
Auto Trait Implementations§
impl Freeze for EtaOutcome
impl RefUnwindSafe for EtaOutcome
impl Send for EtaOutcome
impl Sync for EtaOutcome
impl Unpin for EtaOutcome
impl UnsafeUnpin for EtaOutcome
impl UnwindSafe for EtaOutcome
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