pub struct AllGameData { /* private fields */ }
Implementations§
Source§impl AllGameData
impl AllGameData
pub fn active_player(&self) -> &ActivePlayer
pub fn all_players(&self) -> &[AllPlayer]
pub fn events(&self) -> &Events
pub fn game_data(&self) -> &GameData
Trait Implementations§
Source§impl Clone for AllGameData
impl Clone for AllGameData
Source§fn clone(&self) -> AllGameData
fn clone(&self) -> AllGameData
Returns a copy 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 AllGameData
impl Debug for AllGameData
Source§impl Default for AllGameData
impl Default for AllGameData
Source§fn default() -> AllGameData
fn default() -> AllGameData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AllGameData
impl<'de> Deserialize<'de> for AllGameData
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
Source§impl PartialEq for AllGameData
impl PartialEq for AllGameData
Source§impl Serialize for AllGameData
impl Serialize for AllGameData
impl StructuralPartialEq for AllGameData
Auto Trait Implementations§
impl Freeze for AllGameData
impl RefUnwindSafe for AllGameData
impl Send for AllGameData
impl Sync for AllGameData
impl Unpin for AllGameData
impl UnwindSafe for AllGameData
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