pub enum DeclKind {
Theorem,
Definition,
Opaque,
Axiom,
Structure,
Inductive,
Recursive,
Instance,
}Expand description
The kind of a declaration.
Variants§
Theorem
A theorem with a proof body.
Definition
A definition with a definitional body.
Opaque
An opaque definition (body not unfolded during type-checking).
Axiom
An axiom (no body).
Structure
A structure (record type).
Inductive
An inductive type.
Recursive
A recursive definition.
Instance
An instance of a typeclass.
Implementations§
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 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