pub enum DeclarationVerificationTarget {
Name {
name: String,
},
Span {
span: ModuleSourceSpan,
},
}Expand description
Target declaration for verification.
Variants§
Trait Implementations§
Source§impl Clone for DeclarationVerificationTarget
impl Clone for DeclarationVerificationTarget
Source§fn clone(&self) -> DeclarationVerificationTarget
fn clone(&self) -> DeclarationVerificationTarget
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 Eq for DeclarationVerificationTarget
Source§impl<'lean> IntoLean<'lean> for DeclarationVerificationTarget
impl<'lean> IntoLean<'lean> for DeclarationVerificationTarget
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.impl StructuralPartialEq for DeclarationVerificationTarget
Source§impl<'lean> TryFromLean<'lean> for DeclarationVerificationTarget
impl<'lean> TryFromLean<'lean> for DeclarationVerificationTarget
Source§fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
Decode
obj into Self, returning a
LeanError::Host with stage
[HostStage::Conversion] if the object’s kind or payload is
outside the type’s representable range. Read moreAuto Trait Implementations§
impl Freeze for DeclarationVerificationTarget
impl RefUnwindSafe for DeclarationVerificationTarget
impl Send for DeclarationVerificationTarget
impl Sync for DeclarationVerificationTarget
impl Unpin for DeclarationVerificationTarget
impl UnsafeUnpin for DeclarationVerificationTarget
impl UnwindSafe for DeclarationVerificationTarget
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