pub trait BinaryDomain<Idx>: RawDomain<Key = VertexId<Idx>>where
Idx: RawIndex,{
// Required methods
fn src(&self) -> &Self::Key;
fn tgt(&self) -> &Self::Key;
}
Expand description
The BinaryDomain
trait extends the RawDomain
trait to provide specific methods for
binary edges, which are edges that connect exactly two vertices.