Struct ya_relay_stack::Ewma
source · pub struct Ewma<T = f32>where
T: Clone,{ /* private fields */ }Expand description
Exponentially weighted moving average
Implementations§
Trait Implementations§
source§impl<T> Add<Ewma<T>> for Ewma<T>where
T: Add<Output = T> + AddAssign + Div<f32, Output = T> + Clone,
impl<T> Add<Ewma<T>> for Ewma<T>where T: Add<Output = T> + AddAssign + Div<f32, Output = T> + Clone,
Auto Trait Implementations§
impl<T> RefUnwindSafe for Ewma<T>where T: RefUnwindSafe,
impl<T> Send for Ewma<T>where T: Send,
impl<T> Sync for Ewma<T>where T: Sync,
impl<T> Unpin for Ewma<T>where T: Unpin,
impl<T> UnwindSafe for Ewma<T>where T: UnwindSafe,
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