Trait palette::encoding::pixel::RawPixelSized
source · pub unsafe trait RawPixelSized<T>: Sized {
const CHANNELS: usize;
}
Expand description
A contiguous sequence of pixel channels with a known length.
It’s used when converting to and from raw pixel data and should only be implemented for types with either a suitable in-memory representation.
Required Associated Constants§
Object Safety§
This trait is not object safe.