pub trait Pixel: Zero + Clone {
const CHANNEL_TYPE: PixelType;
const NUM_CHANNELS: usize;
const STRIDE: usize = _;
const CHANNEL_STRIDE: usize = _;
}
Required Associated Constants§
const CHANNEL_TYPE: PixelType
const NUM_CHANNELS: usize
Provided Associated Constants§
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.