pub trait NodeIndex { // Required method fn index(self) -> usize; }
A trait for getting the index of a node.
Returns the index of the node.