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<()>; }