pub struct OneTimerGoalCalculator { /* private fields */ }Implementations§
Source§impl OneTimerGoalCalculator
impl OneTimerGoalCalculator
pub fn new() -> Self
pub fn with_config(config: OneTimerGoalCalculatorConfig) -> Self
pub fn config(&self) -> &OneTimerGoalCalculatorConfig
pub fn events(&self) -> &[GoalTagEvent]
Source§impl OneTimerGoalCalculator
impl OneTimerGoalCalculator
pub fn update( &mut self, match_stats: &MatchStatsCalculator, one_timer: &OneTimerCalculator, ) -> SubtrActorResult<()>
Trait Implementations§
Source§impl Clone for OneTimerGoalCalculator
impl Clone for OneTimerGoalCalculator
Source§fn clone(&self) -> OneTimerGoalCalculator
fn clone(&self) -> OneTimerGoalCalculator
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 OneTimerGoalCalculator
impl Debug for OneTimerGoalCalculator
Source§impl Default for OneTimerGoalCalculator
impl Default for OneTimerGoalCalculator
Source§impl PartialEq for OneTimerGoalCalculator
impl PartialEq for OneTimerGoalCalculator
Source§fn eq(&self, other: &OneTimerGoalCalculator) -> bool
fn eq(&self, other: &OneTimerGoalCalculator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OneTimerGoalCalculator
Auto Trait Implementations§
impl Freeze for OneTimerGoalCalculator
impl RefUnwindSafe for OneTimerGoalCalculator
impl Send for OneTimerGoalCalculator
impl Sync for OneTimerGoalCalculator
impl Unpin for OneTimerGoalCalculator
impl UnsafeUnpin for OneTimerGoalCalculator
impl UnwindSafe for OneTimerGoalCalculator
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