Enum shakmaty::Outcome
[−]
[src]
pub enum Outcome { Decisive { winner: Color, }, Draw, }
Outcome of a game.
Variants
Decisive
Fields of Decisive
winner: Color |
Draw
Trait Implementations
impl Debug for Outcome
[src]
impl PartialEq for Outcome
[src]
fn eq(&self, __arg_0: &Outcome) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Outcome) -> bool
This method tests for !=
.