pub trait ConvertibleToPortSlice {
// Required method
fn to_port_slice(&self) -> PortSlice;
}Expand description
Indicates that a type can be converted to a PortSlice. Port and
PortSlice both implement this trait, which makes it easier to perform the
same operations on both.