pub enum SerialDecl {
Axiom {
name: String,
kind_tag: u8,
},
Definition {
name: String,
kind_tag: u8,
},
Theorem {
name: String,
kind_tag: u8,
},
Opaque {
name: String,
kind_tag: u8,
},
Inductive {
name: String,
ctor_count: u32,
kind_tag: u8,
},
Other {
name: String,
kind_tag: u8,
},
}Expand description
A serializable record for a kernel declaration.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SerialDecl
impl Clone for SerialDecl
Source§fn clone(&self) -> SerialDecl
fn clone(&self) -> SerialDecl
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 SerialDecl
impl Debug for SerialDecl
Source§impl PartialEq for SerialDecl
impl PartialEq for SerialDecl
impl StructuralPartialEq for SerialDecl
Auto Trait Implementations§
impl Freeze for SerialDecl
impl RefUnwindSafe for SerialDecl
impl Send for SerialDecl
impl Sync for SerialDecl
impl Unpin for SerialDecl
impl UnsafeUnpin for SerialDecl
impl UnwindSafe for SerialDecl
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