pub struct SccResult {
pub components: Vec<SccInfo>,
pub dag: DiGraph<usize, ()>,
}Expand description
Output of compute_scc.
Fields§
§components: Vec<SccInfo>SCCs in reverse topological order (sinks first — matches tarjan_scc output).
dag: DiGraph<usize, ()>Condensation DAG: each node holds the SCC index into components.
An edge u → v means the SCC u has a dependency on SCC v.
Auto Trait Implementations§
impl Freeze for SccResult
impl RefUnwindSafe for SccResult
impl Send for SccResult
impl Sync for SccResult
impl Unpin for SccResult
impl UnsafeUnpin for SccResult
impl UnwindSafe for SccResult
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