pub struct Graph {
pub packages: HashMap<String, Package>,
pub edges: HashMap<String, Vec<(String, Vec<EdgeKind>)>>,
pub members: Vec<String>,
}Expand description
The resolved crate graph.
Fields§
§packages: HashMap<String, Package>Package id → name/version.
edges: HashMap<String, Vec<(String, Vec<EdgeKind>)>>Package id → outgoing edges (dependency package id, edge kinds).
members: Vec<String>Workspace member package ids.
Implementations§
Auto Trait Implementations§
impl Freeze for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnsafeUnpin for Graph
impl UnwindSafe for Graph
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