pub struct PlayerTags {
pub tag: Option<Tag>,
pub own: Option<Tag>,
pub observed: Option<Tag>,
pub observer: bool,
}Expand description
The player’s tags (World::player_tags).
Fields§
§tag: Option<Tag>The country the game treats as the player’s: what World::player answers.
own: Option<Tag>The player’s own tag as the game stores it: the observer’s pseudo-country in observe mode.
observed: Option<Tag>The observed country as the game stores it.
observer: boolown is the observer’s pseudo-country: observe mode.
Trait Implementations§
Source§impl Clone for PlayerTags
impl Clone for PlayerTags
impl Copy for PlayerTags
Source§impl Debug for PlayerTags
impl Debug for PlayerTags
impl Eq for PlayerTags
Source§impl PartialEq for PlayerTags
impl PartialEq for PlayerTags
impl StructuralPartialEq for PlayerTags
Auto Trait Implementations§
impl Forget for PlayerTags
impl Freeze for PlayerTags
impl Move for PlayerTags
impl RefUnwindSafe for PlayerTags
impl Send for PlayerTags
impl Sync for PlayerTags
impl Unpin for PlayerTags
impl UnsafeUnpin for PlayerTags
impl UnwindSafe for PlayerTags
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