pub struct Board {
pub trump: Strain,
pub lead: Seat,
pub current_cards: [Option<Card>; 3],
pub deal: Deal,
}Expand description
A snapshot of a board
Fields§
§trump: StrainThe strain of the contract
lead: SeatThe player leading the trick
current_cards: [Option<Card>; 3]The played cards in the current trick
deal: DealThe remaining cards in the deal
Trait Implementations§
impl Copy for Board
impl Eq for Board
impl StructuralPartialEq for Board
Auto Trait Implementations§
impl Freeze for Board
impl RefUnwindSafe for Board
impl Send for Board
impl Sync for Board
impl Unpin for Board
impl UnwindSafe for Board
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