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