pub trait ComputeScc: GraphNode {
    // Required method
    fn compute_scc(&self) -> Vec<Self::NodeId>;
}
Expand description

A trait for a type that can compute its strongly-connected-component.

Required Methods§

Source

fn compute_scc(&self) -> Vec<Self::NodeId>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§