pub struct SccResult {
pub components: Vec<Vec<u64>>,
pub node_to_component: HashMap<u64, usize>,
pub cycle_count: usize,
}Expand description
Result of SCC analysis
Fields§
§components: Vec<Vec<u64>>Each component is a set of node IDs that are mutually reachable
node_to_component: HashMap<u64, usize>Maps each node to its component index
cycle_count: usizeNumber of non-trivial SCCs (size > 1, indicates cycles)
Trait Implementations§
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