Enum tak::turn::Turn [] [src]

pub enum Turn {
    Place {
        point: Point,
        stone: Stone,
    },
    Slide {
        num_pieces: usize,
        point: Point,
        direction: Direction,
        drops: Vec<usize>,
    },
}

Variants

Fields of Place

Fields of Slide

Trait Implementations

impl Clone for Turn
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Turn
[src]

Formats the value using the given formatter.

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

impl Decodable for Turn
[src]

Deserialize a value using a Decoder.

impl Encodable for Turn
[src]

Serialize a value using an Encoder.

impl FromStr for Turn
[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 Turn
[src]

Formats the value using the given formatter. Read more