#[non_exhaustive]pub struct FrameworkExportedSymbolFact {
pub adapter: FrameworkAdapterKind,
pub package: String,
pub name: String,
pub kind: FrameworkExportedSymbolKind,
pub tag_name: Option<String>,
pub range: SourceLocation,
pub declaration_item: Option<HirId>,
pub visible_symbol: VisibleSymbol,
pub source_provenance: Provenance,
pub source_confidence: Confidence,
pub provenance: Provenance,
pub confidence: Confidence,
}Expand description
One framework-exported symbol fact.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.adapter: FrameworkAdapterKindAdapter that emitted this fact.
package: StringPackage declaring the export.
name: StringExported symbol name.
kind: FrameworkExportedSymbolKindExport relationship represented by this fact.
tag_name: Option<String>Tag name when this is a %EXPORT_TAGS member.
range: SourceLocationSource range for the export declaration.
declaration_item: Option<HirId>HIR item that produced the export declaration, when available.
visible_symbol: VisibleSymbolBacking visible-symbol fact for provider-shadow proof.
source_provenance: ProvenanceSource declaration provenance.
source_confidence: ConfidenceSource declaration confidence.
provenance: ProvenanceAdapter fact provenance.
confidence: ConfidenceAdapter fact confidence.
Trait Implementations§
Source§impl Clone for FrameworkExportedSymbolFact
impl Clone for FrameworkExportedSymbolFact
Source§fn clone(&self) -> FrameworkExportedSymbolFact
fn clone(&self) -> FrameworkExportedSymbolFact
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 FrameworkExportedSymbolFact
impl Debug for FrameworkExportedSymbolFact
Source§impl PartialEq for FrameworkExportedSymbolFact
impl PartialEq for FrameworkExportedSymbolFact
Source§fn eq(&self, other: &FrameworkExportedSymbolFact) -> bool
fn eq(&self, other: &FrameworkExportedSymbolFact) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FrameworkExportedSymbolFact
impl StructuralPartialEq for FrameworkExportedSymbolFact
Auto Trait Implementations§
impl Freeze for FrameworkExportedSymbolFact
impl RefUnwindSafe for FrameworkExportedSymbolFact
impl Send for FrameworkExportedSymbolFact
impl Sync for FrameworkExportedSymbolFact
impl Unpin for FrameworkExportedSymbolFact
impl UnsafeUnpin for FrameworkExportedSymbolFact
impl UnwindSafe for FrameworkExportedSymbolFact
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