pub enum ErasedDecl {
Def {
name: String,
body: ErasedExprExt,
},
Axiom {
name: String,
},
Inductive {
name: String,
ctor_count: u32,
},
}Expand description
An erased module declaration.
Variants§
Def
A function definition.
Axiom
An axiom (no body).
Inductive
An inductive type with constructor count.
Implementations§
Trait Implementations§
Source§impl Clone for ErasedDecl
impl Clone for ErasedDecl
Source§fn clone(&self) -> ErasedDecl
fn clone(&self) -> ErasedDecl
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 moreAuto Trait Implementations§
impl Freeze for ErasedDecl
impl RefUnwindSafe for ErasedDecl
impl Send for ErasedDecl
impl Sync for ErasedDecl
impl Unpin for ErasedDecl
impl UnsafeUnpin for ErasedDecl
impl UnwindSafe for ErasedDecl
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