pub struct MetaLibWindow {
pub buffer: VecDeque<f64>,
pub capacity: usize,
pub running_sum: f64,
}Expand description
A sliding window accumulator for MetaLib.
Fields§
§buffer: VecDeque<f64>§capacity: usize§running_sum: f64Implementations§
Source§impl MetaLibWindow
impl MetaLibWindow
Auto Trait Implementations§
impl Freeze for MetaLibWindow
impl RefUnwindSafe for MetaLibWindow
impl Send for MetaLibWindow
impl Sync for MetaLibWindow
impl Unpin for MetaLibWindow
impl UnsafeUnpin for MetaLibWindow
impl UnwindSafe for MetaLibWindow
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