pub trait HyperedgeParticipants: HyperedgeIncidences + ParticipantVertex {
type Participants<'view>: Iterator<Item = Self::ElementId>
where Self: 'view;
// Required method
fn hyperedge_participants(
&self,
hyperedge: Self::RelationId,
) -> Self::Participants<'_>;
}Expand description
Capability for traversing vertices participating in one hyperedge.
Hypergraph-facing form of relation-to-element traversal.
Required Associated Types§
Sourcetype Participants<'view>: Iterator<Item = Self::ElementId>
where
Self: 'view
type Participants<'view>: Iterator<Item = Self::ElementId> where Self: 'view
Iterator over vertices participating in one hyperedge.
Required Methods§
Sourcefn hyperedge_participants(
&self,
hyperedge: Self::RelationId,
) -> Self::Participants<'_>
fn hyperedge_participants( &self, hyperedge: Self::RelationId, ) -> Self::Participants<'_>
Returns vertices participating in hyperedge.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".