Enum zero_sum::impls::tak::Piece [] [src]

pub enum Piece {
    Flatstone(Color),
    StandingStone(Color),
    Capstone(Color),
}

The types of pieces.

Variants

Methods

impl Piece
[src]

Trait Implementations

impl Clone for Piece
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Piece
[src]

Formats the value using the given formatter.

impl Eq for Piece
[src]

impl Hash for Piece
[src]

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

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

impl PartialEq for Piece
[src]

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

This method tests for !=.