pub struct CargoPathDependencyGraph {
pub entry_manifest_path: PathBuf,
pub workspace_root: Option<PathBuf>,
pub root_packages: Vec<PathBuf>,
pub packages: Vec<CargoPathDependencyPackage>,
pub edges: Vec<CargoPathDependencyEdge>,
}Expand description
Deterministic graph of local Cargo path dependencies.
Fields§
§entry_manifest_path: PathBufCanonical path to the entry manifest used for resolution.
workspace_root: Option<PathBuf>Canonical workspace root when entrypoint is a workspace manifest.
root_packages: Vec<PathBuf>Canonical root packages used as traversal roots (sorted).
packages: Vec<CargoPathDependencyPackage>Reachable local packages in deterministic order.
edges: Vec<CargoPathDependencyEdge>Reachable path-dependency edges in deterministic order.
Trait Implementations§
Source§impl Clone for CargoPathDependencyGraph
impl Clone for CargoPathDependencyGraph
Source§fn clone(&self) -> CargoPathDependencyGraph
fn clone(&self) -> CargoPathDependencyGraph
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 CargoPathDependencyGraph
impl Debug for CargoPathDependencyGraph
Source§impl<'de> Deserialize<'de> for CargoPathDependencyGraph
impl<'de> Deserialize<'de> for CargoPathDependencyGraph
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CargoPathDependencyGraph
impl PartialEq for CargoPathDependencyGraph
Source§fn eq(&self, other: &CargoPathDependencyGraph) -> bool
fn eq(&self, other: &CargoPathDependencyGraph) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CargoPathDependencyGraph
impl Serialize for CargoPathDependencyGraph
impl Eq for CargoPathDependencyGraph
impl StructuralPartialEq for CargoPathDependencyGraph
Auto Trait Implementations§
impl Freeze for CargoPathDependencyGraph
impl RefUnwindSafe for CargoPathDependencyGraph
impl Send for CargoPathDependencyGraph
impl Sync for CargoPathDependencyGraph
impl Unpin for CargoPathDependencyGraph
impl UnsafeUnpin for CargoPathDependencyGraph
impl UnwindSafe for CargoPathDependencyGraph
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.