pub trait IncidentHyperedgeCount: IncidenceBase {
// Required method
fn incident_hyperedge_count(&self, vertex: Self::ElementId) -> usize;
}Expand description
Exact incident-hyperedge count capability.
Pairs with IncidentHyperedges for backends that can report a vertex’s
incident hyperedge count without traversal.
Required Methods§
Sourcefn incident_hyperedge_count(&self, vertex: Self::ElementId) -> usize
fn incident_hyperedge_count(&self, vertex: Self::ElementId) -> usize
Returns the number of hyperedges incident to vertex.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".