Enum tak::turn::Direction [] [src]

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

Variants

Methods

impl Direction
[src]

Gives all of the neighbors of point, assuming a board size

Trait Implementations

impl Clone for Direction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Direction
[src]

impl Debug for Direction
[src]

Formats the value using the given formatter.

impl PartialEq for Direction
[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 Direction
[src]

impl Decodable for Direction
[src]

Deserialize a value using a Decoder.

impl Encodable for Direction
[src]

Serialize a value using an Encoder.

impl FromStr for Direction
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Display for Direction
[src]

Formats the value using the given formatter. Read more