pub enum ShotSource {
Through,
Dribble,
Cutback,
Cross,
Long,
}Expand description
How the possession reached the shot (MATCH_MODEL.md §5’s arrival
table) — finer-grained than ShotKind, which collapses through-ball,
dribble, and cutback finishes into Finish. This is what makes the
wide-origin-goal-share calibration target (cross + cutback,
MATCH_MODEL.md §8) actually computable from the stream, not just
headed-goal share. A rebound follow-up shot keeps the source of the shot
that created it — the rebound is a continuation of the same attack, not
a new arrival route.
Variants§
Trait Implementations§
Source§impl Clone for ShotSource
impl Clone for ShotSource
Source§fn clone(&self) -> ShotSource
fn clone(&self) -> ShotSource
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 moreimpl Copy for ShotSource
Source§impl Debug for ShotSource
impl Debug for ShotSource
impl Eq for ShotSource
Source§impl Ord for ShotSource
impl Ord for ShotSource
Source§fn cmp(&self, other: &ShotSource) -> Ordering
fn cmp(&self, other: &ShotSource) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShotSource
impl PartialEq for ShotSource
Source§impl PartialOrd for ShotSource
impl PartialOrd for ShotSource
impl StructuralPartialEq for ShotSource
Auto Trait Implementations§
impl Freeze for ShotSource
impl RefUnwindSafe for ShotSource
impl Send for ShotSource
impl Sync for ShotSource
impl Unpin for ShotSource
impl UnsafeUnpin for ShotSource
impl UnwindSafe for ShotSource
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