pub trait IntoNodeId<Idx: RawIndex> {
// Required method
fn into_node_index(self) -> VertexId<Idx>;
}
Expand description
a trait for converting a type into a valid VertexId
pub trait IntoNodeId<Idx: RawIndex> {
// Required method
fn into_node_index(self) -> VertexId<Idx>;
}
a trait for converting a type into a valid VertexId