Enum libcoinche::game::GameResult
source · [−]Expand description
Result of a game.
Variants
Nothing
The game is still playing
GameOver
Fields
winners: Team
Winning team
The game is over
Trait Implementations
sourceimpl Debug for GameResult
impl Debug for GameResult
sourceimpl PartialEq<GameResult> for GameResult
impl PartialEq<GameResult> for GameResult
sourcefn eq(&self, other: &GameResult) -> bool
fn eq(&self, other: &GameResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GameResult) -> bool
fn ne(&self, other: &GameResult) -> bool
This method tests for !=
.
impl Eq for GameResult
impl StructuralEq for GameResult
impl StructuralPartialEq for GameResult
Auto Trait Implementations
impl RefUnwindSafe for GameResult
impl Send for GameResult
impl Sync for GameResult
impl Unpin for GameResult
impl UnwindSafe for GameResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more