pub trait Sample:
Sealed
+ Copy
+ 'static {
const SAMPLE_TYPE: SampleType;
}Expand description
Sample marker trait for supported plane sample types.
Required Associated Constants§
Sourceconst SAMPLE_TYPE: SampleType
const SAMPLE_TYPE: SampleType
Matching storage sample type.
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.