Trait exr::image::IntoSample [−][src]
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.
Associated Constants
const PREFERRED_SAMPLE_TYPE: SampleType
[src]
const PREFERRED_SAMPLE_TYPE: SampleType
[src]The native sample types that this type should be converted to.
Implementations on Foreign Types
impl IntoSample for f32
[src]
impl IntoSample for f32
[src]impl IntoSample for u32
[src]
impl IntoSample for u32
[src]Implementors
impl IntoSample for f16
[src]
impl IntoSample for f16
[src]