pub struct OneTimerCalculator { /* private fields */ }Implementations§
Source§impl OneTimerCalculator
impl OneTimerCalculator
pub fn new() -> Self
pub fn player_stats(&self) -> &HashMap<PlayerId, OneTimerPlayerStats>
pub fn team_zero_stats(&self) -> &OneTimerTeamStats
pub fn team_one_stats(&self) -> &OneTimerTeamStats
pub fn events(&self) -> &[OneTimerEvent]
pub fn update( &mut self, frame: &FrameInfo, ball: &BallFrameState, pass_calculator: &PassCalculator, live_play: bool, ) -> SubtrActorResult<()>
Trait Implementations§
Source§impl Clone for OneTimerCalculator
impl Clone for OneTimerCalculator
Source§fn clone(&self) -> OneTimerCalculator
fn clone(&self) -> OneTimerCalculator
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 OneTimerCalculator
impl Debug for OneTimerCalculator
Source§impl Default for OneTimerCalculator
impl Default for OneTimerCalculator
Source§fn default() -> OneTimerCalculator
fn default() -> OneTimerCalculator
Returns the “default value” for a type. Read more
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