Trait embedded_graphics::pixelcolor::PixelColor
source · 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§
sourcetype Raw: RawData
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.
Object Safety§
This trait is not object safe.