Enum pgn_reader::Outcome [−][src]
pub enum Outcome {
Decisive {
winner: Color,
},
Draw,
}Outcome of a game.
Variants
DecisiveFields of Decisive
winner: Color |
Draw
Methods
impl Outcome[src]
impl OutcomeTrait Implementations
impl Clone for Outcome[src]
impl Clone for Outcomefn clone(&self) -> Outcome[src]
fn clone(&self) -> OutcomeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Outcome[src]
impl Debug for Outcomefn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Display for Outcome[src]
impl Display for Outcomefn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Eq for Outcome[src]
impl Eq for Outcomeimpl PartialEq<Outcome> for Outcome[src]
impl PartialEq<Outcome> for Outcome