pub enum DeclKind {
Def,
Theorem,
Axiom,
Inductive,
Constructor,
Recursor,
}Expand description
Possible kinds of LCNF declarations.
Variants§
Def
An ordinary definition (def).
Theorem
A proved theorem (theorem).
Axiom
An axiom (unproved assumption).
Inductive
An inductive type declaration.
Constructor
A constructor of an inductive type.
Recursor
A recursor / eliminator for an inductive type.
Trait Implementations§
impl Eq for DeclKind
impl StructuralPartialEq for DeclKind
Auto Trait Implementations§
impl Freeze for DeclKind
impl RefUnwindSafe for DeclKind
impl Send for DeclKind
impl Sync for DeclKind
impl Unpin for DeclKind
impl UnsafeUnpin for DeclKind
impl UnwindSafe for DeclKind
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