Enum goban::rules::EndGame [−][src]
pub enum EndGame { WinnerByScore(Player, f32), WinnerByResign(Player), WinnerByTime(Player), WinnerByForfeit(Player), Draw, }
Variants
Tuple Fields of WinnerByResign
0: Player
Tuple Fields of WinnerByTime
0: Player
Tuple Fields of WinnerByForfeit
0: Player
Implementations
Return the winner of the game, if none the game is draw.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EndGame
impl UnwindSafe for EndGame
Blanket Implementations
Mutably borrows from an owned value. Read more