pub struct TargetDepInfo {
pub package_deps: BTreeSet<String>,
pub target_deps: BTreeSet<String>,
}Expand description
What the dep walk in the loaded workspace tells us about a
failing target. Built by the CLI from the loaded PackageGraph
and passed to diagnose via the lookup closure.
Fields§
§package_deps: BTreeSet<String>Names appearing in the package’s [dependencies] table.
target_deps: BTreeSet<String>Names appearing in [target.<name>].deps for the failing
target.
Trait Implementations§
Source§impl Clone for TargetDepInfo
impl Clone for TargetDepInfo
Source§fn clone(&self) -> TargetDepInfo
fn clone(&self) -> TargetDepInfo
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 moreAuto Trait Implementations§
impl Freeze for TargetDepInfo
impl RefUnwindSafe for TargetDepInfo
impl Send for TargetDepInfo
impl Sync for TargetDepInfo
impl Unpin for TargetDepInfo
impl UnsafeUnpin for TargetDepInfo
impl UnwindSafe for TargetDepInfo
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