pub trait TemporalFilter<T> {
// Required methods
fn update(&mut self, value: T) -> FilterOutput<T>;
fn reset(&mut self);
}Expand description
Common interface for caller-driven temporal filters.
Required Methods§
Sourcefn update(&mut self, value: T) -> FilterOutput<T>
fn update(&mut self, value: T) -> FilterOutput<T>
Push one sample and return the current filter state.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".