pub enum SorryPolicy {
Allow,
Deny,
}Expand description
Policy for sorry-like constructs during declaration verification.
Variants§
Trait Implementations§
Source§impl Clone for SorryPolicy
impl Clone for SorryPolicy
Source§fn clone(&self) -> SorryPolicy
fn clone(&self) -> SorryPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SorryPolicy
Source§impl Debug for SorryPolicy
impl Debug for SorryPolicy
impl Eq for SorryPolicy
Source§impl<'lean> IntoLean<'lean> for SorryPolicy
impl<'lean> IntoLean<'lean> for SorryPolicy
Source§fn into_lean(self, runtime: &'lean LeanRuntime) -> Obj<'lean>
fn into_lean(self, runtime: &'lean LeanRuntime) -> Obj<'lean>
Allocate (or scalar-box) a Lean representation of
self and return
the owned handle.Source§impl PartialEq for SorryPolicy
impl PartialEq for SorryPolicy
impl StructuralPartialEq for SorryPolicy
Auto Trait Implementations§
impl Freeze for SorryPolicy
impl RefUnwindSafe for SorryPolicy
impl Send for SorryPolicy
impl Sync for SorryPolicy
impl Unpin for SorryPolicy
impl UnsafeUnpin for SorryPolicy
impl UnwindSafe for SorryPolicy
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