pub trait WithScc<I> {
type Ty: Scc<I>;
// Required methods
fn scc(&self) -> Option<&Self::Ty>;
fn set_scc(&mut self, scc: Self::Ty);
}Available on crate features
algorithms and alloc only.Expand description
A trait for a node weight that stores information about the SCC it belongs to.