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

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

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