Trait Port
ev3dev_lang_rust
pub trait Port { fn address(&self) -> String; }
EV3 ports
fn address(&self) -> String
Returns the name of the port.
impl Port for MotorPort
impl Port for SensorPort