Enum twozero48::Move[][src]

pub enum Move {
    Left,
    Right,
    Up,
    Down,
    Dont,
}
Expand description

Used to depict user choice, an input to the Game API

Variants

Left

Executes leftward compression of board elements

Right

Executes rightward compression of board elements

Up

Executes upward compression of board elements

Down

Executes downward compression of board elements

Dont

Condition triggered incase input is improper

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.