pub enum ConstantKind {
Axiom,
Definition,
Theorem,
Opaque,
Inductive,
Constructor,
Recursor,
Quotient,
}Expand description
The kind of constant declaration.
Variants§
Axiom
An axiom declaration.
Definition
A definition declaration.
Theorem
A theorem declaration.
Opaque
An opaque definition.
Inductive
An inductive type declaration.
Constructor
A constructor of an inductive type.
Recursor
A recursor (eliminator) for an inductive type.
Quotient
A quotient type declaration.
Implementations§
Source§impl ConstantKind
impl ConstantKind
Trait Implementations§
Source§impl Clone for ConstantKind
impl Clone for ConstantKind
Source§fn clone(&self) -> ConstantKind
fn clone(&self) -> ConstantKind
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 ConstantKind
impl Debug for ConstantKind
Source§impl Hash for ConstantKind
impl Hash for ConstantKind
Source§impl PartialEq for ConstantKind
impl PartialEq for ConstantKind
impl Eq for ConstantKind
impl StructuralPartialEq for ConstantKind
Auto Trait Implementations§
impl Freeze for ConstantKind
impl RefUnwindSafe for ConstantKind
impl Send for ConstantKind
impl Sync for ConstantKind
impl Unpin for ConstantKind
impl UnsafeUnpin for ConstantKind
impl UnwindSafe for ConstantKind
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