pub enum Command {
Ping,
M1Extend(u8),
M1Retract(u8),
M1Brake,
M1SetPosition(u8),
M2Extend(u8),
M2Retract(u8),
M2Brake,
M2SetPosition(u8),
}Expand description
Direct motor commands.
Variants§
Ping
M1Extend(u8)
M1Retract(u8)
M1Brake
M1SetPosition(u8)
M2Extend(u8)
M2Retract(u8)
M2Brake
M2SetPosition(u8)
Trait Implementations§
impl Copy for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more