pub enum DeclarationInspectionResult {
Found {
declaration: Box<DeclarationInspection>,
},
NotFound {
name: String,
},
Unsupported,
}Variants§
Trait Implementations§
Source§impl Clone for DeclarationInspectionResult
impl Clone for DeclarationInspectionResult
Source§fn clone(&self) -> DeclarationInspectionResult
fn clone(&self) -> DeclarationInspectionResult
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 moreSource§impl Debug for DeclarationInspectionResult
impl Debug for DeclarationInspectionResult
impl Eq for DeclarationInspectionResult
impl StructuralPartialEq for DeclarationInspectionResult
Source§impl<'lean> TryFromLean<'lean> for DeclarationInspectionResult
impl<'lean> TryFromLean<'lean> for DeclarationInspectionResult
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 DeclarationInspectionResult
impl RefUnwindSafe for DeclarationInspectionResult
impl Send for DeclarationInspectionResult
impl Sync for DeclarationInspectionResult
impl Unpin for DeclarationInspectionResult
impl UnsafeUnpin for DeclarationInspectionResult
impl UnwindSafe for DeclarationInspectionResult
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