pub enum MatchEventKind {
Pass {
success: bool,
},
TakeOn {
success: bool,
},
Cross {
success: bool,
},
Clearance,
Turnover,
Shot {
kind: ShotKind,
source: ShotSource,
outcome: ShotOutcome,
},
Save {
parried: bool,
},
}Variants§
Pass
TakeOn
Cross
The delivery half of a cross (§5); a successful delivery is followed
by a Shot { kind: Header, .. } event for the contested header — the
aerial duel is that shot’s defensive side, not a separately resolved
step (§5’s own text: “the aerial duel is the defensive half of stage
two rather than a separate resolved step”).
Clearance
A failed cross delivery, cleared by the defense (§3).
Turnover
Possession changed hands (any failure other than a cleared cross).
Shot
Save
A save that was parried into a scrappy rebound (a Shot follow-up
event immediately follows in the stream) vs cleanly collected.
Trait Implementations§
Source§impl Clone for MatchEventKind
impl Clone for MatchEventKind
Source§fn clone(&self) -> MatchEventKind
fn clone(&self) -> MatchEventKind
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 MatchEventKind
Source§impl Debug for MatchEventKind
impl Debug for MatchEventKind
impl Eq for MatchEventKind
Source§impl PartialEq for MatchEventKind
impl PartialEq for MatchEventKind
impl StructuralPartialEq for MatchEventKind
Auto Trait Implementations§
impl Freeze for MatchEventKind
impl RefUnwindSafe for MatchEventKind
impl Send for MatchEventKind
impl Sync for MatchEventKind
impl Unpin for MatchEventKind
impl UnsafeUnpin for MatchEventKind
impl UnwindSafe for MatchEventKind
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