pub trait EdgeCount: GraphBase {
// Required method
fn edge_count(&self) -> usize;
}
Expand description
A graph with a known edge count.
Required Methods§
sourcefn edge_count(&self) -> usize
fn edge_count(&self) -> usize
Return the number of edges in the graph.
Object Safety§
This trait is not object safe.