Trait picto::pixel::Pixel [] [src]

pub trait Pixel<C: Channel = u8>: Copy + 'static {
    fn channels() -> usize;
}

A Pixel represents a color containing a certain amount of channels convertible from the Channel type.

Required Methods

The number of channels in the Pixel.

Implementors