Trait PortIndex

Source
pub trait PortIndex {
    // Required method
    fn index(self) -> usize;
}
Expand description

A trait for getting the undirected index of a port.

Required Methods§

Source

fn index(self) -> usize

Returns the offset of the port.

Implementations on Foreign Types§

Source§

impl PortIndex for usize

Source§

fn index(self) -> usize

Implementors§