Enum libcoinche::game::GameResult [] [src]

pub enum GameResult {
    Nothing,
    GameOver {
        points: [i32; 2],
        winners: Team,
        scores: [i32; 2],
    },
}

Result of a game.

Variants

Nothing

The game is still playing

GameOver

The game is over

Fields

points

Worth of won tricks

winners

Winning team

scores

Score for this game

Trait Implementations

Derived Implementations

impl Debug for GameResult

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for GameResult

fn eq(&self, __arg_0: &GameResult) -> bool

fn ne(&self, __arg_0: &GameResult) -> bool