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

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.

Required Associated Types§

source

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.

Implementors§