Trait palette::encoding::pixel::RawPixelSized[][src]

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.

Associated Constants

The guaranteed number of channels in the sequence.

Implementations on Foreign Types

Implementors