pub struct BallCarryCalculator { /* private fields */ }Expand description
Detects ground ball carries from continuous ball-control sequences.
Implementations§
Source§impl BallCarryCalculator
impl BallCarryCalculator
pub fn new() -> Self
pub fn carry_events(&self) -> &[BallCarryEvent]
pub fn new_carry_events(&self) -> &[BallCarryEvent]
pub fn update( &mut self, control_state: &ContinuousBallControlState, ) -> SubtrActorResult<()>
Trait Implementations§
Source§impl Clone for BallCarryCalculator
impl Clone for BallCarryCalculator
Source§impl Debug for BallCarryCalculator
impl Debug for BallCarryCalculator
Auto Trait Implementations§
impl Freeze for BallCarryCalculator
impl RefUnwindSafe for BallCarryCalculator
impl Send for BallCarryCalculator
impl Sync for BallCarryCalculator
impl Unpin for BallCarryCalculator
impl UnsafeUnpin for BallCarryCalculator
impl UnwindSafe for BallCarryCalculator
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