pub trait Paths: Incidence {
// Provided methods
fn find_path(
&self,
u: Vertex<Self>,
v: Vertex<Self>,
) -> Option<Vec<Edge<Self>>>
where Self: WithVertexProp<Color> { ... }
fn is_walk<I>(&self, edges: I) -> bool
where I: IntoIterator,
I::Item: IntoOwned<Edge<Self>> { ... }
fn is_path<I>(&self, edges: I) -> bool
where Self: WithVertexProp<bool>,
I: IntoIterator,
I::Item: IntoOwned<Edge<Self>> { ... }
}Provided Methods§
fn find_path(&self, u: Vertex<Self>, v: Vertex<Self>) -> Option<Vec<Edge<Self>>>where
Self: WithVertexProp<Color>,
fn is_walk<I>(&self, edges: I) -> bool
fn is_path<I>(&self, edges: I) -> bool
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.