pub trait SampleConvert {
// Required methods
fn to_f32(self) -> f32;
fn from_f32(sample: f32) -> Self;
}Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".