pub struct Player {
pub id: String,
pub cards: Vec<Card>,
pub playable_cards: Vec<Card>,
pub tricks: Vec<[Card; 2]>,
pub announcement: Option<Announcement>,
pub announcable: Option<Announcement>,
pub possible_trump_swap: Option<Card>,
pub points: u8,
}
Fields§
§id: String
§cards: Vec<Card>
§playable_cards: Vec<Card>
§tricks: Vec<[Card; 2]>
§announcement: Option<Announcement>
§announcable: Option<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)