[][src]Trait embedded_graphics::pixelcolor::PixelColor

pub trait PixelColor: Copy + PartialEq {
    type Raw: RawData;
}

Pixel color trait.

This trait is used to represent types that can be used in drawing methods.

See the module-level documentation for more details.

Associated Types

type Raw: RawData

Raw data type.

Specifies the raw storage type that can be used to represent this color.

See the raw module documentation for more details.

Loading content...

Implementors

impl PixelColor for BinaryColor[src]

type Raw = RawU1

impl PixelColor for Bgr555[src]

type Raw = RawU16

impl PixelColor for Bgr565[src]

type Raw = RawU16

impl PixelColor for Bgr888[src]

type Raw = RawU24

impl PixelColor for Gray2[src]

type Raw = RawU2

impl PixelColor for Gray4[src]

type Raw = RawU4

impl PixelColor for Gray8[src]

type Raw = RawU8

impl PixelColor for Rgb555[src]

type Raw = RawU16

impl PixelColor for Rgb565[src]

type Raw = RawU16

impl PixelColor for Rgb888[src]

type Raw = RawU24

Loading content...