pub enum RedexKind {
Beta,
Let,
Proj,
Delta(Name),
}Expand description
The kind of reducible expression.
Variants§
Beta
Beta-redex: (λx. e) a
Let
Let-redex: let x := v in e
Proj
Projection of a constructor: (ctor fields).i
Delta(Name)
Delta-redex: unfoldable constant
Implementations§
Trait Implementations§
impl Eq for RedexKind
impl StructuralPartialEq for RedexKind
Auto Trait Implementations§
impl Freeze for RedexKind
impl RefUnwindSafe for RedexKind
impl Send for RedexKind
impl Sync for RedexKind
impl Unpin for RedexKind
impl UnsafeUnpin for RedexKind
impl UnwindSafe for RedexKind
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