pub trait Trees: Incidence {
// Provided methods
fn is_tree(&self) -> bool
where Self: VertexList + EdgeList + WithVertexProp<Color> { ... }
fn tree_diameter(&self) -> Result<usize, ()>
where Self: VertexList + EdgeList + WithVertexProp<Color> { ... }
}Provided Methods§
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.