pub trait Samples {
// Required methods
fn num_samples(&self) -> usize;
fn truncate(&mut self, limit: usize);
fn from_floats(floats: Vec<Vec<f32>>) -> Self;
}
Expand description
Trait for a packet of multiple samples
Required Methods§
fn num_samples(&self) -> usize
fn truncate(&mut self, limit: usize)
fn from_floats(floats: Vec<Vec<f32>>) -> Self
Object Safety§
This trait is not object safe.