pub trait FromSampleSlice<'a, S>: Sizedwhere
S: Sample,{
// Required method
fn from_sample_slice(slice: &'a [S]) -> Option<Self>;
}
Expand description
For converting from a slice of Sample
s to a slice of Frame
s.
Required Methods§
fn from_sample_slice(slice: &'a [S]) -> Option<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.