pub enum VerifyEmitMode {
NativeDecide,
Sorry,
TheoremSkeleton,
}Expand description
How verify blocks should be emitted in generated Lean.
Variants§
NativeDecide
example : lhs = rhs := by native_decide
Sorry
example : lhs = rhs := by sorry
TheoremSkeleton
Named theorem stubs:
theorem <fn>_verify_<n> : lhs = rhs := by
sorry
Trait Implementations§
Source§impl Clone for VerifyEmitMode
impl Clone for VerifyEmitMode
Source§fn clone(&self) -> VerifyEmitMode
fn clone(&self) -> VerifyEmitMode
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 VerifyEmitMode
impl Debug for VerifyEmitMode
Source§impl PartialEq for VerifyEmitMode
impl PartialEq for VerifyEmitMode
impl Copy for VerifyEmitMode
impl Eq for VerifyEmitMode
impl StructuralPartialEq for VerifyEmitMode
Auto Trait Implementations§
impl Freeze for VerifyEmitMode
impl RefUnwindSafe for VerifyEmitMode
impl Send for VerifyEmitMode
impl Sync for VerifyEmitMode
impl Unpin for VerifyEmitMode
impl UnsafeUnpin for VerifyEmitMode
impl UnwindSafe for VerifyEmitMode
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