pub enum Flip {
Forward = 0,
Left = 1,
Back = 2,
Right = 3,
ForwardLeft = 4,
BackLeft = 5,
BackRight = 6,
ForwardRight = 7,
}
Expand description
Flip commands taken from Go version of code
Variants§
Forward = 0
flips forward.
Left = 1
flips left.
Back = 2
flips backwards.
Right = 3
flips to the right.
ForwardLeft = 4
flips forwards and to the left.
BackLeft = 5
flips backwards and to the left.
BackRight = 6
flips backwards and to the right.
ForwardRight = 7
flips forwards and to the right.
Auto Trait Implementations§
impl Freeze for Flip
impl RefUnwindSafe for Flip
impl Send for Flip
impl Sync for Flip
impl Unpin for Flip
impl UnwindSafe for Flip
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