Trait sliding_features::View
source · pub trait View: Send + Sync + Debug {
// Required methods
fn update(&mut self, val: f64);
fn last(&self) -> Option<f64>;
}
Expand description
The most important Trait, defining methods which each sliding feature needs to implement