pub trait IncomingEdgeCount: TopologyBase {
// Required method
fn in_degree(&self, node: Self::ElementId) -> usize;
}Expand description
Exact incoming-edge count capability.
Pairs with IncomingGraph for backends that can report in-degree
without traversal; does not require incoming traversal support by itself.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".