Enum shakmaty::Outcome [] [src]

pub enum Outcome {
    Decisive {
        winner: Color,
    },
    Draw,
}

Outcome of a game.

Variants

Fields of Decisive

Trait Implementations

impl Clone for Outcome
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Outcome
[src]

impl PartialEq for Outcome
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Outcome
[src]

[src]

Formats the value using the given formatter.

impl Display for Outcome
[src]

[src]

Formats the value using the given formatter. Read more