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