pub struct WallAerialCalculator { /* private fields */ }Implementations§
Source§impl WallAerialCalculator
impl WallAerialCalculator
pub fn new() -> Self
pub fn player_stats(&self) -> &HashMap<PlayerId, WallAerialStats>
pub fn events(&self) -> &[WallAerialEvent]
pub fn update( &mut self, frame: &FrameInfo, ball: &BallFrameState, players: &PlayerFrameState, touch_state: &TouchState, live_play: bool, ) -> SubtrActorResult<()>
Trait Implementations§
Source§impl Clone for WallAerialCalculator
impl Clone for WallAerialCalculator
Source§fn clone(&self) -> WallAerialCalculator
fn clone(&self) -> WallAerialCalculator
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 WallAerialCalculator
impl Debug for WallAerialCalculator
Source§impl Default for WallAerialCalculator
impl Default for WallAerialCalculator
Source§fn default() -> WallAerialCalculator
fn default() -> WallAerialCalculator
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WallAerialCalculator
impl RefUnwindSafe for WallAerialCalculator
impl Send for WallAerialCalculator
impl Sync for WallAerialCalculator
impl Unpin for WallAerialCalculator
impl UnsafeUnpin for WallAerialCalculator
impl UnwindSafe for WallAerialCalculator
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