pub struct TerritorialPressureCalculator { /* private fields */ }Expand description
Tracks territorial-pressure sessions during live play.
Implementations§
Source§impl TerritorialPressureCalculator
impl TerritorialPressureCalculator
pub fn new() -> Self
pub fn with_config(config: TerritorialPressureCalculatorConfig) -> Self
pub fn events(&self) -> &[TerritorialPressureEvent]
pub fn new_events(&self) -> &[TerritorialPressureEvent]
pub fn projected_events(&self) -> Vec<TerritorialPressureEvent>
pub fn config(&self) -> &TerritorialPressureCalculatorConfig
pub fn finish(&mut self) -> SubtrActorResult<()>
pub fn update( &mut self, frame: &FrameInfo, ball: &BallFrameState, possession_state: &PossessionState, live_play_state: &LivePlayState, ) -> SubtrActorResult<()>
Trait Implementations§
impl StructuralPartialEq for TerritorialPressureCalculator
Auto Trait Implementations§
impl Freeze for TerritorialPressureCalculator
impl RefUnwindSafe for TerritorialPressureCalculator
impl Send for TerritorialPressureCalculator
impl Sync for TerritorialPressureCalculator
impl Unpin for TerritorialPressureCalculator
impl UnsafeUnpin for TerritorialPressureCalculator
impl UnwindSafe for TerritorialPressureCalculator
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