pub enum MoveDir2D {
Left,
Right,
Up,
Down,
}Expand description
Represent movement along the horizontal or vertical axes.
Variants§
Implementations§
Trait Implementations§
impl Copy for MoveDir2D
impl Eq for MoveDir2D
impl StructuralPartialEq for MoveDir2D
Auto Trait Implementations§
impl Freeze for MoveDir2D
impl RefUnwindSafe for MoveDir2D
impl Send for MoveDir2D
impl Sync for MoveDir2D
impl Unpin for MoveDir2D
impl UnwindSafe for MoveDir2D
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