pub struct TerritorialPressureStats {Show 13 fields
pub tracked_time: f32,
pub team_zero_session_count: u32,
pub team_one_session_count: u32,
pub team_zero_session_time: f32,
pub team_one_session_time: f32,
pub team_zero_offensive_half_time: f32,
pub team_one_offensive_half_time: f32,
pub team_zero_offensive_third_time: f32,
pub team_one_offensive_third_time: f32,
pub team_zero_longest_session_time: f32,
pub team_one_longest_session_time: f32,
pub labeled_session_counts: LabeledCounts,
pub labeled_time: LabeledFloatSums,
}Fields§
§tracked_time: f32§team_zero_session_count: u32§team_one_session_count: u32§team_zero_session_time: f32§team_one_session_time: f32§team_zero_offensive_half_time: f32§team_one_offensive_half_time: f32§team_zero_offensive_third_time: f32§team_one_offensive_third_time: f32§team_zero_longest_session_time: f32§team_one_longest_session_time: f32§labeled_session_counts: LabeledCounts§labeled_time: LabeledFloatSumsImplementations§
Source§impl TerritorialPressureStats
impl TerritorialPressureStats
pub fn for_team(&self, is_team_zero: bool) -> TerritorialPressureTeamStats
Trait Implementations§
Source§impl Clone for TerritorialPressureStats
impl Clone for TerritorialPressureStats
Source§fn clone(&self) -> TerritorialPressureStats
fn clone(&self) -> TerritorialPressureStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TerritorialPressureStats
impl Debug for TerritorialPressureStats
Source§impl Default for TerritorialPressureStats
impl Default for TerritorialPressureStats
Source§fn default() -> TerritorialPressureStats
fn default() -> TerritorialPressureStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TerritorialPressureStats
impl<'de> Deserialize<'de> for TerritorialPressureStats
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 TerritorialPressureStats
impl PartialEq for TerritorialPressureStats
Source§fn eq(&self, other: &TerritorialPressureStats) -> bool
fn eq(&self, other: &TerritorialPressureStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TerritorialPressureStats
impl Serialize for TerritorialPressureStats
Source§impl StatFieldProvider for TerritorialPressureStats
impl StatFieldProvider for TerritorialPressureStats
fn visit_stat_fields(&self, visitor: &mut dyn FnMut(ExportedStat))
fn stat_fields(&self) -> Vec<ExportedStat>
impl StructuralPartialEq for TerritorialPressureStats
Auto Trait Implementations§
impl Freeze for TerritorialPressureStats
impl RefUnwindSafe for TerritorialPressureStats
impl Send for TerritorialPressureStats
impl Sync for TerritorialPressureStats
impl Unpin for TerritorialPressureStats
impl UnsafeUnpin for TerritorialPressureStats
impl UnwindSafe for TerritorialPressureStats
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