Trait exr::image::IntoSample
source · pub trait IntoSample: IntoNativeSample {
const PREFERRED_SAMPLE_TYPE: SampleType;
}
Expand description
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.
Required Associated Constants§
sourceconst PREFERRED_SAMPLE_TYPE: SampleType
const PREFERRED_SAMPLE_TYPE: SampleType
The native sample types that this type should be converted to.
Object Safety§
This trait is not object safe.