pub struct SccResult {
pub components: HashMap<usize, Vec<NodeId>>,
pub node_component: HashMap<NodeId, usize>,
}Expand description
Result of SCC algorithm
Fields§
§components: HashMap<usize, Vec<NodeId>>Map of Component ID -> List of NodeIds
node_component: HashMap<NodeId, usize>Map of NodeId -> Component ID
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