Trait luminance::pixel::Pixel [] [src]

pub trait Pixel {
    type Encoding;
    fn pixel_format() -> PixelFormat;
}

Reify a static pixel format to runtime.

Associated Types

type Encoding

Encoding of a single pixel. It should match the PixelFormat mapping.

Required Methods

Implementors