pub unsafe trait Sample {
const DEFAULT_FORMAT: Format;
// Required methods
fn test(format: Format) -> bool;
fn describe() -> &'static str;
}Available on crate feature
alsa only.Expand description
Required Associated Constants§
Sourceconst DEFAULT_FORMAT: Format
const DEFAULT_FORMAT: Format
The default format to use for this sample.
Required Methods§
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.