pub struct DeclarationTargetInfo {
pub short_name: String,
pub declaration_name: String,
pub namespace_name: String,
pub declaration_kind: String,
pub declaration_span: ModuleSourceSpan,
pub name_span: ModuleSourceSpan,
pub body_span: ModuleSourceSpan,
}Expand description
Source metadata for the declaration surrounding a proof-agent query.
Fields§
§short_name: String§declaration_name: String§namespace_name: String§declaration_kind: String§declaration_span: ModuleSourceSpan§name_span: ModuleSourceSpan§body_span: ModuleSourceSpanTrait Implementations§
Source§impl Clone for DeclarationTargetInfo
impl Clone for DeclarationTargetInfo
Source§fn clone(&self) -> DeclarationTargetInfo
fn clone(&self) -> DeclarationTargetInfo
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 DeclarationTargetInfo
impl Debug for DeclarationTargetInfo
impl Eq for DeclarationTargetInfo
Source§impl PartialEq for DeclarationTargetInfo
impl PartialEq for DeclarationTargetInfo
impl StructuralPartialEq for DeclarationTargetInfo
Source§impl<'lean> TryFromLean<'lean> for DeclarationTargetInfo
impl<'lean> TryFromLean<'lean> for DeclarationTargetInfo
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 DeclarationTargetInfo
impl RefUnwindSafe for DeclarationTargetInfo
impl Send for DeclarationTargetInfo
impl Sync for DeclarationTargetInfo
impl Unpin for DeclarationTargetInfo
impl UnsafeUnpin for DeclarationTargetInfo
impl UnwindSafe for DeclarationTargetInfo
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