ev3robot 0.3.1

Rust library for ev3dev
Documentation
1
2
3
4
5
6
7
8
9
10
use super::{StopAction, TachoMotorPositionUnit, TachoMotorSpeedUnit};

pub trait Rotate {
    fn rotate(
        &mut self,
        speed: impl TachoMotorSpeedUnit,
        shift: impl TachoMotorPositionUnit,
        stop_action: StopAction,
    ) -> anyhow::Result<()>;
}