Struct signalo_filters::filter::classify::Schmitt[][src]

pub struct Schmitt<T, U> { /* fields omitted */ }

A Schmitt trigger filter.

Methods

impl<T, U> Schmitt<T, U> where
    U: Clone
[src]

Creates a new Schmitt filter with given thresholds ([low, high]) and outputs ([off, on]).

Trait Implementations

impl<T: Clone, U: Clone> Clone for Schmitt<T, U>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug, U: Debug> Debug for Schmitt<T, U>
[src]

Formats the value using the given formatter. Read more

impl<T, U> Stateful for Schmitt<T, U>
[src]

The filter's internal state.

impl<T, U> StatefulUnsafe for Schmitt<T, U>
[src]

Returns a mutable reference to the internal state of the filter.

Returns a mutable reference to the internal state of the filter.

impl<T, U> InitialState<()> for Schmitt<T, U>
[src]

Returns the filter's initial state for a given parameter.

impl<T, U> Resettable for Schmitt<T, U>
[src]

Resets the internal state of the filter.

impl<T, U> Filter<T> for Schmitt<T, U> where
    T: PartialOrd<T>,
    U: Clone
[src]

The filter's output type.

Processes the input value, returning a corresponding output.

Auto Trait Implementations

impl<T, U> Send for Schmitt<T, U> where
    T: Send,
    U: Send

impl<T, U> Sync for Schmitt<T, U> where
    T: Sync,
    U: Sync