pub struct LivePlayState {
pub gameplay_phase: GameplayPhase,
pub is_live_play: bool,
}Fields§
§gameplay_phase: GameplayPhase§is_live_play: boolImplementations§
Source§impl LivePlayState
impl LivePlayState
pub fn counts_toward_player_motion(&self) -> bool
pub fn counts_toward_ball_position_stats(&self) -> bool
Trait Implementations§
Source§impl Clone for LivePlayState
impl Clone for LivePlayState
Source§fn clone(&self) -> LivePlayState
fn clone(&self) -> LivePlayState
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 LivePlayState
impl Debug for LivePlayState
Source§impl Default for LivePlayState
impl Default for LivePlayState
Source§fn default() -> LivePlayState
fn default() -> LivePlayState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LivePlayState
impl<'de> Deserialize<'de> for LivePlayState
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 LivePlayState
impl PartialEq for LivePlayState
Source§impl Serialize for LivePlayState
impl Serialize for LivePlayState
impl Eq for LivePlayState
impl StructuralPartialEq for LivePlayState
Auto Trait Implementations§
impl Freeze for LivePlayState
impl RefUnwindSafe for LivePlayState
impl Send for LivePlayState
impl Sync for LivePlayState
impl Unpin for LivePlayState
impl UnsafeUnpin for LivePlayState
impl UnwindSafe for LivePlayState
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