pub enum GameTransition {
Bet(i32),
Card(Card),
Start,
}Expand description
The primary way to interface with a spades game. Used as an argument to Game::play.
Variants§
Auto Trait Implementations§
impl Freeze for GameTransition
impl RefUnwindSafe for GameTransition
impl Send for GameTransition
impl Sync for GameTransition
impl Unpin for GameTransition
impl UnsafeUnpin for GameTransition
impl UnwindSafe for GameTransition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more