pub struct OneTimerCalculator { /* private fields */ }Expand description
Detects one-timers from ball state and upstream pass detection.
Implementations§
Source§impl OneTimerCalculator
impl OneTimerCalculator
pub fn new() -> Self
pub fn events(&self) -> &[OneTimerEvent]
pub fn new_events(&self) -> &[OneTimerEvent]
pub fn update( &mut self, frame: &FrameInfo, ball: &BallFrameState, pass_calculator: &PassCalculator, live_play_state: &LivePlayState, ) -> SubtrActorResult<()>
Trait Implementations§
Source§impl Clone for OneTimerCalculator
impl Clone for OneTimerCalculator
Source§impl Debug for OneTimerCalculator
impl Debug for OneTimerCalculator
Auto Trait Implementations§
impl Freeze for OneTimerCalculator
impl RefUnwindSafe for OneTimerCalculator
impl Send for OneTimerCalculator
impl Sync for OneTimerCalculator
impl Unpin for OneTimerCalculator
impl UnsafeUnpin for OneTimerCalculator
impl UnwindSafe for OneTimerCalculator
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