pub struct DepGraph {
pub nodes: Vec<String>,
pub edges: Vec<(usize, usize)>,
}Expand description
Simple directed graph for dependency resolution via Kahn’s topological sort.
Fields§
§nodes: Vec<String>§edges: Vec<(usize, usize)>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DepGraph
impl RefUnwindSafe for DepGraph
impl Send for DepGraph
impl Sync for DepGraph
impl Unpin for DepGraph
impl UnsafeUnpin for DepGraph
impl UnwindSafe for DepGraph
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