pub struct CounterAttackGoalCalculator { /* private fields */ }Implementations§
Source§impl CounterAttackGoalCalculator
impl CounterAttackGoalCalculator
pub fn new() -> Self
pub fn events(&self) -> &[GoalTagEvent]
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§fn clone(&self) -> CounterAttackGoalCalculator
fn clone(&self) -> CounterAttackGoalCalculator
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 Debug for CounterAttackGoalCalculator
impl Debug for CounterAttackGoalCalculator
Source§impl PartialEq for CounterAttackGoalCalculator
impl PartialEq for CounterAttackGoalCalculator
Source§fn eq(&self, other: &CounterAttackGoalCalculator) -> bool
fn eq(&self, other: &CounterAttackGoalCalculator) -> bool
Tests for
self and other values to be equal, and is used by ==.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