pub enum Command {
Turn(i16),
TurnRadius(i16, i16),
DriveDist(i16),
DriveLine(i16),
AlignDist(i16),
AlignLine(i16),
TurnOneWheel(i16, Direction),
}
Expand description
Enum representing various types of commands.
Variants§
Turn(i16)
TurnRadius(i16, i16)
DriveDist(i16)
DriveLine(i16)
AlignDist(i16)
AlignLine(i16)
TurnOneWheel(i16, Direction)
Trait Implementations§
impl Copy 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