pub struct DpsTracker {
pub window: f32,
pub time: f32,
/* private fields */
}Expand description
Tracks damage-per-second in a rolling window.
Fields§
§window: f32Rolling window in seconds.
time: f32Implementations§
Trait Implementations§
Source§impl Clone for DpsTracker
impl Clone for DpsTracker
Source§fn clone(&self) -> DpsTracker
fn clone(&self) -> DpsTracker
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DpsTracker
impl RefUnwindSafe for DpsTracker
impl Send for DpsTracker
impl Sync for DpsTracker
impl Unpin for DpsTracker
impl UnsafeUnpin for DpsTracker
impl UnwindSafe for DpsTracker
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