pub trait HyperedgeIncidences: RelationIncidences {
type ParticipantIds<'view>: Iterator<Item = ParticipantId<Self>>
where Self: 'view;
// Required method
fn hyperedge_incidences(
&self,
hyperedge: HyperedgeId<Self>,
) -> Self::ParticipantIds<'_>;
}Expand description
Capability for traversing participant records attached to one hyperedge.
Hypergraph-facing name for RelationIncidences; yields raw participant
IDs rather than resolved vertices. Pair with HyperedgeParticipants
when callers want vertices directly.
Required Associated Types§
Sourcetype ParticipantIds<'view>: Iterator<Item = ParticipantId<Self>>
where
Self: 'view
type ParticipantIds<'view>: Iterator<Item = ParticipantId<Self>> where Self: 'view
Iterator over participant IDs attached to one hyperedge.
Required Methods§
Sourcefn hyperedge_incidences(
&self,
hyperedge: HyperedgeId<Self>,
) -> Self::ParticipantIds<'_>
fn hyperedge_incidences( &self, hyperedge: HyperedgeId<Self>, ) -> Self::ParticipantIds<'_>
Returns participant IDs attached to hyperedge.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".