pub struct InactivePlayer {
pub id: PlayerId,
pub completed_books: Vec<CompleteBook>,
}Expand description
A player who no longer has any viable moves. They can still win the game, if they have more Completed Books than any other player at the end of the game
Fields§
§id: PlayerId§completed_books: Vec<CompleteBook>Trait Implementations§
Source§impl Clone for InactivePlayer
impl Clone for InactivePlayer
Source§fn clone(&self) -> InactivePlayer
fn clone(&self) -> InactivePlayer
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InactivePlayer
impl Debug for InactivePlayer
Source§impl<'de> Deserialize<'de> for InactivePlayer
impl<'de> Deserialize<'de> for InactivePlayer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InactivePlayer
impl RefUnwindSafe for InactivePlayer
impl Send for InactivePlayer
impl Sync for InactivePlayer
impl Unpin for InactivePlayer
impl UnsafeUnpin for InactivePlayer
impl UnwindSafe for InactivePlayer
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