Enum zero_sum::impls::tic_tac_toe::Resolution
[−]
[src]
pub enum Resolution { Win(Mark), CatsGame, }
Either a win or a cat's game.
Variants
Win(Mark)
CatsGame
Trait Implementations
impl Resolution for Resolution
[src]
fn get_winner(&self) -> Option<u8>
Returns the index of the winning player if this Resolution
represents a win.