pub struct Player {
pub id: String,
pub cards: Vec<Card>,
pub playable_cards: Vec<Card>,
pub tricks: Vec<[Card; 2]>,
pub announcements: Vec<Announcement>,
pub announcable: Vec<Announcement>,
pub possible_trump_swap: Option<Card>,
pub points: u8,
}
Fields§
§id: String
§cards: Vec<Card>
§playable_cards: Vec<Card>
§tricks: Vec<[Card; 2]>
§announcements: Vec<Announcement>
§announcable: Vec<Announcement>
§possible_trump_swap: Option<Card>
§points: u8
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Player
impl RefUnwindSafe for Player
impl Send for Player
impl Sync for Player
impl Unpin for Player
impl UnwindSafe for Player
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