pub struct ContinuousBallControlTracker<K> { /* private fields */ }Implementations§
Source§impl<K> ContinuousBallControlTracker<K>
impl<K> ContinuousBallControlTracker<K>
pub fn update<F, G>( &mut self, frame: &FrameInfo, candidate: Option<ContinuousBallControlCandidate<K>>, player_statuses: &[ContinuousBallControlPlayerStatus], touches: &[ContinuousBallControlTouch], min_duration_for_kind: F, requires_airborne_for_kind: G, ) -> Vec<CompletedBallControlSequence<K>>
pub fn finish<F>( &mut self, min_duration_for_kind: F, ) -> Option<CompletedBallControlSequence<K>>
Trait Implementations§
Source§impl<K: Clone> Clone for ContinuousBallControlTracker<K>
impl<K: Clone> Clone for ContinuousBallControlTracker<K>
Source§fn clone(&self) -> ContinuousBallControlTracker<K>
fn clone(&self) -> ContinuousBallControlTracker<K>
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<K: Debug> Debug for ContinuousBallControlTracker<K>
impl<K: Debug> Debug for ContinuousBallControlTracker<K>
Auto Trait Implementations§
impl<K> Freeze for ContinuousBallControlTracker<K>where
K: Freeze,
impl<K> RefUnwindSafe for ContinuousBallControlTracker<K>where
K: RefUnwindSafe,
impl<K> Send for ContinuousBallControlTracker<K>where
K: Send,
impl<K> Sync for ContinuousBallControlTracker<K>where
K: Sync,
impl<K> Unpin for ContinuousBallControlTracker<K>where
K: Unpin,
impl<K> UnsafeUnpin for ContinuousBallControlTracker<K>where
K: UnsafeUnpin,
impl<K> UnwindSafe for ContinuousBallControlTracker<K>where
K: UnwindSafe,
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