pub struct LeanWorkerDeclarationTargetInfo {
pub short_name: String,
pub declaration_name: String,
pub namespace_name: String,
pub declaration_kind: String,
pub declaration_span: LeanWorkerModuleSourceSpan,
pub name_span: LeanWorkerModuleSourceSpan,
pub body_span: LeanWorkerModuleSourceSpan,
}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: LeanWorkerModuleSourceSpan§name_span: LeanWorkerModuleSourceSpan§body_span: LeanWorkerModuleSourceSpanTrait Implementations§
Source§impl Clone for LeanWorkerDeclarationTargetInfo
impl Clone for LeanWorkerDeclarationTargetInfo
Source§fn clone(&self) -> LeanWorkerDeclarationTargetInfo
fn clone(&self) -> LeanWorkerDeclarationTargetInfo
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<'de> Deserialize<'de> for LeanWorkerDeclarationTargetInfo
impl<'de> Deserialize<'de> for LeanWorkerDeclarationTargetInfo
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerDeclarationTargetInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerDeclarationTargetInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerDeclarationTargetInfo
Source§impl PartialEq for LeanWorkerDeclarationTargetInfo
impl PartialEq for LeanWorkerDeclarationTargetInfo
Source§fn eq(&self, other: &LeanWorkerDeclarationTargetInfo) -> bool
fn eq(&self, other: &LeanWorkerDeclarationTargetInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerDeclarationTargetInfo
impl Serialize for LeanWorkerDeclarationTargetInfo
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LeanWorkerDeclarationTargetInfo
Auto Trait Implementations§
impl Freeze for LeanWorkerDeclarationTargetInfo
impl RefUnwindSafe for LeanWorkerDeclarationTargetInfo
impl Send for LeanWorkerDeclarationTargetInfo
impl Sync for LeanWorkerDeclarationTargetInfo
impl Unpin for LeanWorkerDeclarationTargetInfo
impl UnsafeUnpin for LeanWorkerDeclarationTargetInfo
impl UnwindSafe for LeanWorkerDeclarationTargetInfo
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