pub trait HyperPoint: RawPoint {
// Required method
fn index(&self) -> &VertexId<Self::Key>;
// Provided method
fn raw_index(&self) -> &Self::Key { ... }
}
Expand description
[Point
] is a trait that extends the RawPoint
trait to provide additional
functionality for points in a hypergraph, such as accessing the index and raw index.