pub struct CounterAttackGoalCalculator { /* private fields */ }Expand description
Tags goals scored on a counter-attack.
Implementations§
Source§impl CounterAttackGoalCalculator
impl CounterAttackGoalCalculator
pub fn new() -> Self
pub fn events(&self) -> &[GoalTagAssignment]
pub fn new_events(&self) -> &[GoalTagAssignment]
Source§impl CounterAttackGoalCalculator
impl CounterAttackGoalCalculator
pub fn update( &mut self, match_stats: &MatchStatsCalculator, ) -> SubtrActorResult<()>
Trait Implementations§
Source§impl Clone for CounterAttackGoalCalculator
impl Clone for CounterAttackGoalCalculator
Source§impl Debug for CounterAttackGoalCalculator
impl Debug for CounterAttackGoalCalculator
impl StructuralPartialEq for CounterAttackGoalCalculator
Auto Trait Implementations§
impl Freeze for CounterAttackGoalCalculator
impl RefUnwindSafe for CounterAttackGoalCalculator
impl Send for CounterAttackGoalCalculator
impl Sync for CounterAttackGoalCalculator
impl Unpin for CounterAttackGoalCalculator
impl UnsafeUnpin for CounterAttackGoalCalculator
impl UnwindSafe for CounterAttackGoalCalculator
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