pub trait View: Send + Sync {
    fn update(&mut self, val: f64);
fn last(&self) -> f64; }
Expand description

The most important Trait, defining methods which each sliding feature needs to implement

Required methods

Update the state with a new value

Return the last value

Implementors