pub trait Successors: DirectedGraph {
// Required method
fn successors(&self, node: Self::Node) -> impl Iterator<Item = Self::Node>;
}
Required Methods§
fn successors(&self, node: Self::Node) -> impl Iterator<Item = Self::Node>
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.