pub enum SimpleNodeKindExt {
Leaf,
App,
Lam,
Pi,
Let,
Sort,
Match,
Def,
Theorem,
Ann,
Proj,
Level,
}Expand description
A simple AST node kind for generic traversal.
Variants§
Leaf
A leaf node (variable, literal)
App
An application node
Lam
A lambda abstraction
Pi
A pi-type / forall
Let
A let binding
Sort
A sort (Type/Prop)
Match
A match expression
Def
A definition head
Theorem
A theorem head
Ann
An annotation
Proj
A projection
Level
A universe level
Trait Implementations§
Source§impl Clone for SimpleNodeKindExt
impl Clone for SimpleNodeKindExt
Source§fn clone(&self) -> SimpleNodeKindExt
fn clone(&self) -> SimpleNodeKindExt
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 SimpleNodeKindExt
impl Debug for SimpleNodeKindExt
Source§impl Hash for SimpleNodeKindExt
impl Hash for SimpleNodeKindExt
Source§impl PartialEq for SimpleNodeKindExt
impl PartialEq for SimpleNodeKindExt
impl Eq for SimpleNodeKindExt
impl StructuralPartialEq for SimpleNodeKindExt
Auto Trait Implementations§
impl Freeze for SimpleNodeKindExt
impl RefUnwindSafe for SimpleNodeKindExt
impl Send for SimpleNodeKindExt
impl Sync for SimpleNodeKindExt
impl Unpin for SimpleNodeKindExt
impl UnsafeUnpin for SimpleNodeKindExt
impl UnwindSafe for SimpleNodeKindExt
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