Enum tools_2048::GameMove
source · pub enum GameMove {
Left,
Right,
Up,
Down,
}Expand description
An enum that represents the moves that can be made in the game of 2048.
Variants§
Trait Implementations§
source§impl PartialEq for GameMove
impl PartialEq for GameMove
impl Copy for GameMove
impl Eq for GameMove
impl StructuralEq for GameMove
impl StructuralPartialEq for GameMove
Auto Trait Implementations§
impl RefUnwindSafe for GameMove
impl Send for GameMove
impl Sync for GameMove
impl Unpin for GameMove
impl UnwindSafe for GameMove
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