Enum libcoinche::game::PlayError
[−]
[src]
pub enum PlayError { TurnError, CardMissing, IncorrectSuit, InvalidPiss, NonRaisedTrump, NoLastTrick, }
Error that can occur during play
Variants
TurnError
A player tried to act before his turn
CardMissing
A player tried to play a card he doesn't have
IncorrectSuit
A player tried to play the wrong suit, while he still have some
InvalidPiss
A player tried to play the wrong suit, while he still have trumps
NonRaisedTrump
A player did not raise on the last played trump
NoLastTrick
No last trick is available for display
Trait Implementations
impl PartialEq for PlayError
[src]
fn eq(&self, __arg_0: &PlayError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.