struct ResolvedDependency<'a> {
decl: Handle<GlobalDecl<'a>>,
usage: Span,
}
Expand description
An edge from a reference to its referent in the current depth-first traversal.
This is like ast::Dependency
, except that we’ve determined which
GlobalDecl
it refers to.
Fields§
§decl: Handle<GlobalDecl<'a>>
The referent of some identifier used in the current declaration.
usage: Span
Where that use occurs within the current declaration.
Auto Trait Implementations§
impl<'a> Freeze for ResolvedDependency<'a>
impl<'a> RefUnwindSafe for ResolvedDependency<'a>
impl<'a> Send for ResolvedDependency<'a>
impl<'a> Sync for ResolvedDependency<'a>
impl<'a> Unpin for ResolvedDependency<'a>
impl<'a> UnwindSafe for ResolvedDependency<'a>
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