Struct yapb::MovingAverage
source · pub struct MovingAverage { /* private fields */ }
Expand description
Exponential moving average, useful for computing throughput
Implementations
Trait Implementations
sourceimpl Clone for MovingAverage
impl Clone for MovingAverage
sourcefn clone(&self) -> MovingAverage
fn clone(&self) -> MovingAverage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MovingAverage
impl Debug for MovingAverage
impl Copy for MovingAverage
Auto Trait Implementations
impl RefUnwindSafe for MovingAverage
impl Send for MovingAverage
impl Sync for MovingAverage
impl Unpin for MovingAverage
impl UnwindSafe for MovingAverage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more