pub trait ImageChannelType: Pod {
const CHANNEL_TYPE: ChannelDatatype;
}
Expand description
Types that implement this can be used as image channel types.
Implemented for u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
.
Required Associated Constants§
Sourceconst CHANNEL_TYPE: ChannelDatatype
const CHANNEL_TYPE: ChannelDatatype
The ChannelDatatype
for this 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.