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§