Struct basic_dsp::Statistics [] [src]

pub struct Statistics<T> {
    pub sum: T,
    pub count: usize,
    pub average: T,
    pub rms: T,
    pub min: T,
    pub min_index: usize,
    pub max: T,
    pub max_index: usize,
}

Statistics about the data in a vector

Fields

sum: T count: usize average: T rms: T min: T min_index: usize max: T max_index: usize

Trait Implementations

impl<T: Copy> Copy for Statistics<T>
[src]

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

fn clone(&self) -> Statistics<T>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for Statistics<T>
[src]

fn eq(&self, __arg_0: &Statistics<T>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Statistics<T>) -> bool

This method tests for !=.

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.