Enum pgn_reader::Outcome
[−]
[src]
pub enum Outcome {
Decisive {
winner: Color,
},
Draw,
}Outcome of a game.
Variants
DecisiveFields of Decisive
winner: Color |
Draw
Trait Implementations
impl PartialEq<Outcome> for Outcome[src]
fn eq(&self, __arg_0: &Outcome) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Outcome) -> bool[src]
This method tests for !=.
impl Clone for Outcome[src]
fn clone(&self) -> Outcome[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Display for Outcome[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more