Enum spades::State [−][src]
Current game stage, field of Game
.
The Betting
and Trick
variants have a usize
value between 0
and 3, inclusive, that refers to the number of players that have placed bets or played cards in the trick,
respectively.
Example: State::Trick(2)
means the game is in the card playing stage, and two players have played their cards.
Variants
NotStarted
Betting(usize)
Trick(usize)
Completed
Trait Implementations
impl Debug for State
[src]
impl Debug for State
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for State
[src]
impl PartialEq for State