pub enum Possession {
Control,
Advance,
}Expand description
What happened to possession after a touch, assigned retroactively by
ControlFollowTracker once the outcome is known. Orthogonal to
TouchAction: it answers “did the toucher keep the ball?”, independent of
what the touch was trying to do.
Control— the ball is kept close. Either the toucher stays with it (close and speed-matched) or wins the follow-up touch without the ball ever leaving the control radius.Advance— the ball is played into space (it leaves the control radius) and the same toucher still wins the next touch. The follow-up touch is the evidence they got to it before anyone else: a self-pass into space they knew they would win.
Variants§
Implementations§
Source§impl Possession
impl Possession
pub fn as_label_value(self) -> &'static str
Trait Implementations§
Source§impl Clone for Possession
impl Clone for Possession
impl Copy for Possession
Source§impl Debug for Possession
impl Debug for Possession
impl Eq for Possession
Source§impl PartialEq for Possession
impl PartialEq for Possession
impl StructuralPartialEq for Possession
Auto Trait Implementations§
impl Freeze for Possession
impl RefUnwindSafe for Possession
impl Send for Possession
impl Sync for Possession
impl Unpin for Possession
impl UnsafeUnpin for Possession
impl UnwindSafe for Possession
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