pub enum DeclKind {
Def,
Axiom,
Theorem,
Inductive,
Constructor,
Recursor,
}Expand description
Kind of declaration
Variants§
Def
Definition with a body
Axiom
Axiom (no body)
Theorem
Theorem (opaque definition)
Inductive
Inductive type
Constructor
Constructor for an inductive type
Recursor
Recursor/eliminator
Trait Implementations§
impl Copy for DeclKind
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 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