pub enum Rotation {
Clockwise,
Counterclockwise,
}
Expand description
The directions in which a robot can rotate.
Variants§
Trait Implementations§
Source§impl Ord for Rotation
impl Ord for Rotation
Source§impl PartialOrd for Rotation
impl PartialOrd for Rotation
impl Copy for Rotation
impl Eq for Rotation
impl StructuralPartialEq for Rotation
Auto Trait Implementations§
impl Freeze for Rotation
impl RefUnwindSafe for Rotation
impl Send for Rotation
impl Sync for Rotation
impl Unpin for Rotation
impl UnwindSafe for Rotation
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