Enum taxi::Dir [] [src]

pub enum Dir {
    Up,
    Right,
    Down,
    Left,
}

Move direction

Variants

Methods

impl Dir
[src]

Converts u32 to Dir

Trait Implementations

impl PartialEq for Dir
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Dir
[src]

impl Hash for Dir
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for Dir
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Dir
[src]

impl Debug for Dir
[src]

Formats the value using the given formatter.