Struct libcoinche::trick::Trick
source · [−]Expand description
The current cards on the table.
Fields
cards: [Option<Card>; 4]
Cards currently on the table (they are None
until played).
first: PlayerPos
First player in this trick.
winner: PlayerPos
Current winner of the trick (updated after each card played).
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Trick
impl Send for Trick
impl Sync for Trick
impl Unpin for Trick
impl UnwindSafe for Trick
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