Struct embedded_graphics_core::pixelcolor::Bgr888
source · pub struct Bgr888(/* private fields */);
Expand description
Bgr888 color.
Use the methods provided by the RgbColor
trait to access
individual color channels and predefined color constants.
See the module-level documentation for more information about conversion between this type and raw data.
Implementations§
Trait Implementations§
source§impl From<Bgr888> for BinaryColor
impl From<Bgr888> for BinaryColor
source§impl From<BinaryColor> for Bgr888
impl From<BinaryColor> for Bgr888
source§fn from(color: BinaryColor) -> Self
fn from(color: BinaryColor) -> Self
source§impl Ord for Bgr888
impl Ord for Bgr888
source§impl PartialOrd for Bgr888
impl PartialOrd for Bgr888
source§impl WebColors for Bgr888
impl WebColors for Bgr888
Named web colors.
source§const CSS_ALICE_BLUE: Self = _
const CSS_ALICE_BLUE: Self = _
Alice Blue
source§const CSS_ANTIQUE_WHITE: Self = _
const CSS_ANTIQUE_WHITE: Self = _
Antique White
source§const CSS_AQUAMARINE: Self = _
const CSS_AQUAMARINE: Self = _
Aquamarine
source§const CSS_BISQUE: Self = _
const CSS_BISQUE: Self = _
Bisque
source§const CSS_BLANCHED_ALMOND: Self = _
const CSS_BLANCHED_ALMOND: Self = _
Blanched Almond
source§const CSS_BLUE_VIOLET: Self = _
const CSS_BLUE_VIOLET: Self = _
Blue Violet
source§const CSS_BURLY_WOOD: Self = _
const CSS_BURLY_WOOD: Self = _
Burly Wood
source§const CSS_CADET_BLUE: Self = _
const CSS_CADET_BLUE: Self = _
Cadet Blue
source§const CSS_CHARTREUSE: Self = _
const CSS_CHARTREUSE: Self = _
Chartreuse
source§const CSS_CHOCOLATE: Self = _
const CSS_CHOCOLATE: Self = _
Chocolate
source§const CSS_CORNFLOWER_BLUE: Self = _
const CSS_CORNFLOWER_BLUE: Self = _
Cornflower Blue
source§const CSS_CORNSILK: Self = _
const CSS_CORNSILK: Self = _
Cornsilk
source§const CSS_CRIMSON: Self = _
const CSS_CRIMSON: Self = _
Crimson
source§const CSS_DARK_BLUE: Self = _
const CSS_DARK_BLUE: Self = _
Dark Blue
source§const CSS_DARK_CYAN: Self = _
const CSS_DARK_CYAN: Self = _
Dark Cyan
source§const CSS_DARK_GOLDENROD: Self = _
const CSS_DARK_GOLDENROD: Self = _
Dark Goldenrod
source§const CSS_DARK_GRAY: Self = _
const CSS_DARK_GRAY: Self = _
Dark Gray
source§const CSS_DARK_GREEN: Self = _
const CSS_DARK_GREEN: Self = _
Dark Green
source§const CSS_DARK_KHAKI: Self = _
const CSS_DARK_KHAKI: Self = _
Dark Khaki
source§const CSS_DARK_MAGENTA: Self = _
const CSS_DARK_MAGENTA: Self = _
Dark Magenta
source§const CSS_DARK_OLIVE_GREEN: Self = _
const CSS_DARK_OLIVE_GREEN: Self = _
Dark Olive Green
source§const CSS_DARK_ORANGE: Self = _
const CSS_DARK_ORANGE: Self = _
Dark Orange
source§const CSS_DARK_ORCHID: Self = _
const CSS_DARK_ORCHID: Self = _
Dark Orchid
source§const CSS_DARK_RED: Self = _
const CSS_DARK_RED: Self = _
Dark Red
source§const CSS_DARK_SALMON: Self = _
const CSS_DARK_SALMON: Self = _
Dark Salmon
source§const CSS_DARK_SEA_GREEN: Self = _
const CSS_DARK_SEA_GREEN: Self = _
Dark Sea Green
source§const CSS_DARK_SLATE_BLUE: Self = _
const CSS_DARK_SLATE_BLUE: Self = _
Dark Slate Blue
source§const CSS_DARK_SLATE_GRAY: Self = _
const CSS_DARK_SLATE_GRAY: Self = _
Dark Slate Gray
source§const CSS_DARK_TURQUOISE: Self = _
const CSS_DARK_TURQUOISE: Self = _
Dark Turquoise
source§const CSS_DARK_VIOLET: Self = _
const CSS_DARK_VIOLET: Self = _
Dark Violet
source§const CSS_DEEP_PINK: Self = _
const CSS_DEEP_PINK: Self = _
Deep Pink
source§const CSS_DEEP_SKY_BLUE: Self = _
const CSS_DEEP_SKY_BLUE: Self = _
Deep Sky Blue
source§const CSS_DIM_GRAY: Self = _
const CSS_DIM_GRAY: Self = _
Dim Gray
source§const CSS_DODGER_BLUE: Self = _
const CSS_DODGER_BLUE: Self = _
Dodger Blue
source§const CSS_FIRE_BRICK: Self = _
const CSS_FIRE_BRICK: Self = _
Fire Brick
source§const CSS_FLORAL_WHITE: Self = _
const CSS_FLORAL_WHITE: Self = _
Floral White
source§const CSS_FOREST_GREEN: Self = _
const CSS_FOREST_GREEN: Self = _
Forest Green
source§const CSS_FUCHSIA: Self = _
const CSS_FUCHSIA: Self = _
Fuchsia
source§const CSS_GAINSBORO: Self = _
const CSS_GAINSBORO: Self = _
Gainsboro
source§const CSS_GHOST_WHITE: Self = _
const CSS_GHOST_WHITE: Self = _
Ghost White
source§const CSS_GOLDENROD: Self = _
const CSS_GOLDENROD: Self = _
Goldenrod
source§const CSS_GREEN_YELLOW: Self = _
const CSS_GREEN_YELLOW: Self = _
Green Yellow
source§const CSS_HONEYDEW: Self = _
const CSS_HONEYDEW: Self = _
Honeydew
source§const CSS_HOT_PINK: Self = _
const CSS_HOT_PINK: Self = _
Hot Pink
source§const CSS_INDIAN_RED: Self = _
const CSS_INDIAN_RED: Self = _
Indian Red
source§const CSS_INDIGO: Self = _
const CSS_INDIGO: Self = _
Indigo
source§const CSS_LAVENDER: Self = _
const CSS_LAVENDER: Self = _
Lavender
source§const CSS_LAVENDER_BLUSH: Self = _
const CSS_LAVENDER_BLUSH: Self = _
Lavender Blush
source§const CSS_LAWN_GREEN: Self = _
const CSS_LAWN_GREEN: Self = _
Lawn Green
source§const CSS_LEMON_CHIFFON: Self = _
const CSS_LEMON_CHIFFON: Self = _
Lemon Chiffon
source§const CSS_LIGHT_BLUE: Self = _
const CSS_LIGHT_BLUE: Self = _
Light Blue
source§const CSS_LIGHT_CORAL: Self = _
const CSS_LIGHT_CORAL: Self = _
Light Coral
source§const CSS_LIGHT_CYAN: Self = _
const CSS_LIGHT_CYAN: Self = _
Light Cyan
source§const CSS_LIGHT_GOLDENROD_YELLOW: Self = _
const CSS_LIGHT_GOLDENROD_YELLOW: Self = _
Light Goldenrod Yellow
source§const CSS_LIGHT_GRAY: Self = _
const CSS_LIGHT_GRAY: Self = _
Light Gray
source§const CSS_LIGHT_GREEN: Self = _
const CSS_LIGHT_GREEN: Self = _
Light Green
source§const CSS_LIGHT_PINK: Self = _
const CSS_LIGHT_PINK: Self = _
Light Pink
source§const CSS_LIGHT_SALMON: Self = _
const CSS_LIGHT_SALMON: Self = _
Light Salmon
source§const CSS_LIGHT_SEA_GREEN: Self = _
const CSS_LIGHT_SEA_GREEN: Self = _
Light Sea Green
source§const CSS_LIGHT_SKY_BLUE: Self = _
const CSS_LIGHT_SKY_BLUE: Self = _
Light Sky Blue
source§const CSS_LIGHT_SLATE_GRAY: Self = _
const CSS_LIGHT_SLATE_GRAY: Self = _
Light Slate Gray
source§const CSS_LIGHT_STEEL_BLUE: Self = _
const CSS_LIGHT_STEEL_BLUE: Self = _
Light Steel Blue
source§const CSS_LIGHT_YELLOW: Self = _
const CSS_LIGHT_YELLOW: Self = _
Light Yellow
source§const CSS_LIME_GREEN: Self = _
const CSS_LIME_GREEN: Self = _
Lime Green
source§const CSS_MAGENTA: Self = _
const CSS_MAGENTA: Self = _
Magenta
source§const CSS_MAROON: Self = _
const CSS_MAROON: Self = _
Maroon
source§const CSS_MEDIUM_AQUAMARINE: Self = _
const CSS_MEDIUM_AQUAMARINE: Self = _
Medium Aquamarine
source§const CSS_MEDIUM_BLUE: Self = _
const CSS_MEDIUM_BLUE: Self = _
Medium Blue
source§const CSS_MEDIUM_ORCHID: Self = _
const CSS_MEDIUM_ORCHID: Self = _
Medium Orchid
source§const CSS_MEDIUM_PURPLE: Self = _
const CSS_MEDIUM_PURPLE: Self = _
Medium Purple
source§const CSS_MEDIUM_SEA_GREEN: Self = _
const CSS_MEDIUM_SEA_GREEN: Self = _
Medium Sea Green
source§const CSS_MEDIUM_SLATE_BLUE: Self = _
const CSS_MEDIUM_SLATE_BLUE: Self = _
Medium Slate Blue
source§const CSS_MEDIUM_SPRING_GREEN: Self = _
const CSS_MEDIUM_SPRING_GREEN: Self = _
Medium Spring Green
source§const CSS_MEDIUM_TURQUOISE: Self = _
const CSS_MEDIUM_TURQUOISE: Self = _
Medium Turquoise
source§const CSS_MEDIUM_VIOLET_RED: Self = _
const CSS_MEDIUM_VIOLET_RED: Self = _
Medium Violet Red
source§const CSS_MIDNIGHT_BLUE: Self = _
const CSS_MIDNIGHT_BLUE: Self = _
Midnight Blue
source§const CSS_MINT_CREAM: Self = _
const CSS_MINT_CREAM: Self = _
Mint Cream
source§const CSS_MISTY_ROSE: Self = _
const CSS_MISTY_ROSE: Self = _
Misty Rose
source§const CSS_MOCCASIN: Self = _
const CSS_MOCCASIN: Self = _
Moccasin
source§const CSS_NAVAJO_WHITE: Self = _
const CSS_NAVAJO_WHITE: Self = _
Navajo White
source§const CSS_OLD_LACE: Self = _
const CSS_OLD_LACE: Self = _
Old Lace
source§const CSS_OLIVE_DRAB: Self = _
const CSS_OLIVE_DRAB: Self = _
Olive Drab
source§const CSS_ORANGE: Self = _
const CSS_ORANGE: Self = _
Orange
source§const CSS_ORANGE_RED: Self = _
const CSS_ORANGE_RED: Self = _
Orange Red
source§const CSS_ORCHID: Self = _
const CSS_ORCHID: Self = _
Orchid
source§const CSS_PALE_GOLDENROD: Self = _
const CSS_PALE_GOLDENROD: Self = _
Pale Goldenrod
source§const CSS_PALE_GREEN: Self = _
const CSS_PALE_GREEN: Self = _
Pale Green
source§const CSS_PALE_TURQUOISE: Self = _
const CSS_PALE_TURQUOISE: Self = _
Pale Turquoise
source§const CSS_PALE_VIOLET_RED: Self = _
const CSS_PALE_VIOLET_RED: Self = _
Pale Violet Red
source§const CSS_PAPAYA_WHIP: Self = _
const CSS_PAPAYA_WHIP: Self = _
Papaya Whip
source§const CSS_PEACH_PUFF: Self = _
const CSS_PEACH_PUFF: Self = _
Peach Puff
source§const CSS_POWDER_BLUE: Self = _
const CSS_POWDER_BLUE: Self = _
Powder Blue
source§const CSS_PURPLE: Self = _
const CSS_PURPLE: Self = _
Purple
source§const CSS_REBECCAPURPLE: Self = _
const CSS_REBECCAPURPLE: Self = _
Rebeccapurple
source§const CSS_ROSY_BROWN: Self = _
const CSS_ROSY_BROWN: Self = _
Rosy Brown
source§const CSS_ROYAL_BLUE: Self = _
const CSS_ROYAL_BLUE: Self = _
Royal Blue
source§const CSS_SADDLE_BROWN: Self = _
const CSS_SADDLE_BROWN: Self = _
Saddle Brown
source§const CSS_SALMON: Self = _
const CSS_SALMON: Self = _
Salmon
source§const CSS_SANDY_BROWN: Self = _
const CSS_SANDY_BROWN: Self = _
Sandy Brown
source§const CSS_SEA_GREEN: Self = _
const CSS_SEA_GREEN: Self = _
Sea Green
source§const CSS_SEASHELL: Self = _
const CSS_SEASHELL: Self = _
Seashell
source§const CSS_SIENNA: Self = _
const CSS_SIENNA: Self = _
Sienna
source§const CSS_SILVER: Self = _
const CSS_SILVER: Self = _
Silver
source§const CSS_SKY_BLUE: Self = _
const CSS_SKY_BLUE: Self = _
Sky Blue
source§const CSS_SLATE_BLUE: Self = _
const CSS_SLATE_BLUE: Self = _
Slate Blue
source§const CSS_SLATE_GRAY: Self = _
const CSS_SLATE_GRAY: Self = _
Slate Gray
source§const CSS_SPRING_GREEN: Self = _
const CSS_SPRING_GREEN: Self = _
Spring Green
source§const CSS_STEEL_BLUE: Self = _
const CSS_STEEL_BLUE: Self = _
Steel Blue
source§const CSS_THISTLE: Self = _
const CSS_THISTLE: Self = _
Thistle
source§const CSS_TOMATO: Self = _
const CSS_TOMATO: Self = _
Tomato
source§const CSS_TURQUOISE: Self = _
const CSS_TURQUOISE: Self = _
Turquoise
source§const CSS_VIOLET: Self = _
const CSS_VIOLET: Self = _
Violet
source§const CSS_WHITE_SMOKE: Self = _
const CSS_WHITE_SMOKE: Self = _
White Smoke
source§const CSS_YELLOW: Self = _
const CSS_YELLOW: Self = _
Yellow
source§const CSS_YELLOW_GREEN: Self = _
const CSS_YELLOW_GREEN: Self = _
Yellow Green
impl Copy for Bgr888
impl Eq for Bgr888
impl StructuralPartialEq for Bgr888
Auto Trait Implementations§
impl Freeze for Bgr888
impl RefUnwindSafe for Bgr888
impl Send for Bgr888
impl Sync for Bgr888
impl Unpin for Bgr888
impl UnwindSafe for Bgr888
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<C> IntoStorage for C
impl<C> IntoStorage for C
§type Storage = <<C as PixelColor>::Raw as RawData>::Storage
type Storage = <<C as PixelColor>::Raw as RawData>::Storage
source§fn into_storage(self) -> <C as IntoStorage>::Storage
fn into_storage(self) -> <C as IntoStorage>::Storage
PixelColor
into its raw storage form