pub struct WavedashCalculator { /* private fields */ }Implementations§
Source§impl WavedashCalculator
impl WavedashCalculator
pub fn new() -> Self
pub fn player_stats(&self) -> &HashMap<PlayerId, WavedashStats>
pub fn events(&self) -> &[WavedashEvent]
pub fn update( &mut self, frame: &FrameInfo, players: &PlayerFrameState, live_play: bool, ) -> SubtrActorResult<()>
Trait Implementations§
Source§impl Clone for WavedashCalculator
impl Clone for WavedashCalculator
Source§fn clone(&self) -> WavedashCalculator
fn clone(&self) -> WavedashCalculator
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 WavedashCalculator
impl Debug for WavedashCalculator
Source§impl Default for WavedashCalculator
impl Default for WavedashCalculator
Source§fn default() -> WavedashCalculator
fn default() -> WavedashCalculator
Returns the “default value” for a type. Read more
Source§impl PartialEq for WavedashCalculator
impl PartialEq for WavedashCalculator
Source§fn eq(&self, other: &WavedashCalculator) -> bool
fn eq(&self, other: &WavedashCalculator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WavedashCalculator
Auto Trait Implementations§
impl Freeze for WavedashCalculator
impl RefUnwindSafe for WavedashCalculator
impl Send for WavedashCalculator
impl Sync for WavedashCalculator
impl Unpin for WavedashCalculator
impl UnsafeUnpin for WavedashCalculator
impl UnwindSafe for WavedashCalculator
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