pub trait Stats<T>: Sized {
// Required methods
fn empty() -> Self;
fn empty_vec(
len: usize
) -> ArrayVec<Self, basic_dsp_vector::::vector_types::general::statistics::StatsVec::{constant#0}>;
fn invalid() -> Self;
fn merge(stats: &[Self]) -> Self;
fn merge_cols(
stats: &[ArrayVec<Self, basic_dsp_vector::::vector_types::general::statistics::StatsVec::{constant#0}>]
) -> ArrayVec<Self, basic_dsp_vector::::vector_types::general::statistics::StatsVec::{constant#0}>;
fn add(&mut self, elem: T, index: usize);
}
Expand description
Operations on statistics.
Required Methods§
sourcefn empty_vec(
len: usize
) -> ArrayVec<Self, basic_dsp_vector::::vector_types::general::statistics::StatsVec::{constant#0}>
fn empty_vec( len: usize ) -> ArrayVec<Self, basic_dsp_vector::::vector_types::general::statistics::StatsVec::{constant#0}>
Creates a vector of empty statistics structs.
sourcefn merge_cols(
stats: &[ArrayVec<Self, basic_dsp_vector::::vector_types::general::statistics::StatsVec::{constant#0}>]
) -> ArrayVec<Self, basic_dsp_vector::::vector_types::general::statistics::StatsVec::{constant#0}>
fn merge_cols( stats: &[ArrayVec<Self, basic_dsp_vector::::vector_types::general::statistics::StatsVec::{constant#0}>] ) -> ArrayVec<Self, basic_dsp_vector::::vector_types::general::statistics::StatsVec::{constant#0}>
Merges several vectors of statistics into one vector.
Object Safety§
This trait is not object safe.