Trait IntoSample
pub trait IntoSample: IntoNativeSample
Convert this type into one of the known sample types. Also specify the preferred native type, which dictates the default sample type in the image.
Associated Constants
const PREFERRED_SAMPLE_TYPE: SampleType;The native sample types that this type should be converted to.
Implementors
impl IntoSample for f16impl IntoSample for f32impl IntoSample for u32