Trait RawSample
pub trait RawSample: Sample {
type RawType: Copy + Default + Sealed;
// Required method
fn into_raw_sample(self) -> Self::RawType;
}
Available on crate feature
dep_symphonia
only.Expand description
RawSample
provides a typed interface for converting a Sample
from it’s in-memory data type
to actual binary type.
Required Associated Types§
Required Methods§
fn into_raw_sample(self) -> Self::RawType
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.