Enum shakmaty::Outcome[][src]

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

Outcome of a game.

Variants

Fields of Decisive

Methods

impl Outcome
[src]

Trait Implementations

impl Clone for Outcome
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Outcome
[src]

impl PartialEq for Outcome
[src]

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

This method tests for !=.

impl Debug for Outcome
[src]

Formats the value using the given formatter. Read more

impl Display for Outcome
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Outcome

impl Sync for Outcome