Skip to main content

Indicator

Trait Indicator 

Source
pub trait Indicator {
    type Input;
    type Output;

    // Required methods
    fn reset(&mut self);
    fn update(&mut self, input: Self::Input) -> Option<Self::Output>;
}

Required Associated Types§

Required Methods§

Source

fn reset(&mut self)

Source

fn update(&mut self, input: Self::Input) -> Option<Self::Output>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§