Struct signalo_filters::sink::Mean[][src]

pub struct Mean<T> { /* fields omitted */ }

A sink that computes the mean and variance of all received values of a signal.

Trait Implementations

impl<T: Clone> Clone for Mean<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Default> Default for Mean<T>
[src]

Returns the "default value" for a type. Read more

impl<T: Debug> Debug for Mean<T>
[src]

Formats the value using the given formatter. Read more

impl<T> Sink<T> for Mean<T> where
    T: Copy + PartialOrd + Num
[src]

The sink's output type.

Processes the input value.

Consumes self, returning an accumulated output.

Auto Trait Implementations

impl<T> Send for Mean<T> where
    T: Send

impl<T> Sync for Mean<T> where
    T: Sync