pub trait IncidentHyperedgeCount: ElementIncidenceCount {
// Provided method
fn incident_hyperedge_count(&self, vertex: Self::ElementId) -> usize { ... }
}Expand description
Exact incident-hyperedge count capability.
Hypergraph-facing name for ElementIncidenceCount: a vertex’s incident
hyperedge count is its element’s incidence count. Provided by default body
and blanket impl, mirroring HyperedgeParticipantCount.
Provided 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".