pub struct ResolvedReference {
pub reference: Located<Reference>,
pub target: Option<String>,
pub resolution: Resolution,
}Expand description
A reference resolved (best-effort) to the path of the symbol it refers to.
Fields§
§reference: Located<Reference>The reference and the path it was found in.
target: Option<String>The defining path this reference resolves to, or None when ambiguous
or unresolved.
resolution: ResolutionWhy it resolved (or didn’t).
Trait Implementations§
Source§impl Clone for ResolvedReference
impl Clone for ResolvedReference
Source§fn clone(&self) -> ResolvedReference
fn clone(&self) -> ResolvedReference
Returns a duplicate of the value. Read more
1.0.0 · 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 ResolvedReference
impl Debug for ResolvedReference
Source§impl PartialEq for ResolvedReference
impl PartialEq for ResolvedReference
impl Eq for ResolvedReference
impl StructuralPartialEq for ResolvedReference
Auto Trait Implementations§
impl Freeze for ResolvedReference
impl RefUnwindSafe for ResolvedReference
impl Send for ResolvedReference
impl Sync for ResolvedReference
impl Unpin for ResolvedReference
impl UnsafeUnpin for ResolvedReference
impl UnwindSafe for ResolvedReference
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