#[repr(C)]pub struct Color {
pub Argb: u32,
}
Fields§
§Argb: u32
Implementations§
§impl Color
impl Color
pub const AliceBlue: i32 = -984_833i32
pub const AntiqueWhite: i32 = -332_841i32
pub const Aqua: i32 = -16_711_681i32
pub const Aquamarine: i32 = -8_388_652i32
pub const Azure: i32 = -983_041i32
pub const Beige: i32 = -657_956i32
pub const Bisque: i32 = -6_972i32
pub const Black: i32 = -16_777_216i32
pub const BlanchedAlmond: i32 = -5_171i32
pub const Blue: i32 = -16_776_961i32
pub const BlueViolet: i32 = -7_722_014i32
pub const Brown: i32 = -5_952_982i32
pub const BurlyWood: i32 = -2_180_985i32
pub const CadetBlue: i32 = -10_510_688i32
pub const Chartreuse: i32 = -8_388_864i32
pub const Chocolate: i32 = -2_987_746i32
pub const Coral: i32 = -32_944i32
pub const CornflowerBlue: i32 = -10_185_235i32
pub const Cornsilk: i32 = -1_828i32
pub const Crimson: i32 = -2_354_116i32
pub const Cyan: i32 = -16_711_681i32
pub const DarkBlue: i32 = -16_777_077i32
pub const DarkCyan: i32 = -16_741_493i32
pub const DarkGoldenrod: i32 = -4_684_277i32
pub const DarkGray: i32 = -5_658_199i32
pub const DarkGreen: i32 = -16_751_616i32
pub const DarkKhaki: i32 = -4_343_957i32
pub const DarkMagenta: i32 = -7_667_573i32
pub const DarkOliveGreen: i32 = -11_179_217i32
pub const DarkOrange: i32 = -29_696i32
pub const DarkOrchid: i32 = -6_737_204i32
pub const DarkRed: i32 = -7_667_712i32
pub const DarkSalmon: i32 = -1_468_806i32
pub const DarkSeaGreen: i32 = -7_357_301i32
pub const DarkSlateBlue: i32 = -12_042_869i32
pub const DarkSlateGray: i32 = -13_676_721i32
pub const DarkTurquoise: i32 = -16_724_271i32
pub const DarkViolet: i32 = -7_077_677i32
pub const DeepPink: i32 = -60_269i32
pub const DeepSkyBlue: i32 = -16_728_065i32
pub const DimGray: i32 = -9_868_951i32
pub const DodgerBlue: i32 = -14_774_017i32
pub const Firebrick: i32 = -5_103_070i32
pub const FloralWhite: i32 = -1_296i32
pub const ForestGreen: i32 = -14_513_374i32
pub const Fuchsia: i32 = -65_281i32
pub const Gainsboro: i32 = -2_302_756i32
pub const GhostWhite: i32 = -460_545i32
pub const Gold: i32 = -10_496i32
pub const Goldenrod: i32 = -2_448_096i32
pub const Gray: i32 = -8_355_712i32
pub const Green: i32 = -16_744_448i32
pub const GreenYellow: i32 = -5_374_161i32
pub const Honeydew: i32 = -983_056i32
pub const HotPink: i32 = -38_476i32
pub const IndianRed: i32 = -3_318_692i32
pub const Indigo: i32 = -11_861_886i32
pub const Ivory: i32 = -16i32
pub const Khaki: i32 = -989_556i32
pub const Lavender: i32 = -1_644_806i32
pub const LavenderBlush: i32 = -3_851i32
pub const LawnGreen: i32 = -8_586_240i32
pub const LemonChiffon: i32 = -1_331i32
pub const LightBlue: i32 = -5_383_962i32
pub const LightCoral: i32 = -1_015_680i32
pub const LightCyan: i32 = -2_031_617i32
pub const LightGoldenrodYellow: i32 = -329_006i32
pub const LightGray: i32 = -2_894_893i32
pub const LightGreen: i32 = -7_278_960i32
pub const LightPink: i32 = -18_751i32
pub const LightSalmon: i32 = -24_454i32
pub const LightSeaGreen: i32 = -14_634_326i32
pub const LightSkyBlue: i32 = -7_876_870i32
pub const LightSlateGray: i32 = -8_943_463i32
pub const LightSteelBlue: i32 = -5_192_482i32
pub const LightYellow: i32 = -32i32
pub const Lime: i32 = -16_711_936i32
pub const LimeGreen: i32 = -13_447_886i32
pub const Linen: i32 = -331_546i32
pub const Magenta: i32 = -65_281i32
pub const Maroon: i32 = -8_388_608i32
pub const MediumAquamarine: i32 = -10_039_894i32
pub const MediumBlue: i32 = -16_777_011i32
pub const MediumOrchid: i32 = -4_565_549i32
pub const MediumPurple: i32 = -7_114_533i32
pub const MediumSeaGreen: i32 = -12_799_119i32
pub const MediumSlateBlue: i32 = -8_689_426i32
pub const MediumSpringGreen: i32 = -16_713_062i32
pub const MediumTurquoise: i32 = -12_004_916i32
pub const MediumVioletRed: i32 = -3_730_043i32
pub const MidnightBlue: i32 = -15_132_304i32
pub const MintCream: i32 = -655_366i32
pub const MistyRose: i32 = -6_943i32
pub const Moccasin: i32 = -6_987i32
pub const OldLace: i32 = -133_658i32
pub const Olive: i32 = -8_355_840i32
pub const OliveDrab: i32 = -9_728_477i32
pub const Orange: i32 = -23_296i32
pub const OrangeRed: i32 = -47_872i32
pub const Orchid: i32 = -2_461_482i32
pub const PaleGoldenrod: i32 = -1_120_086i32
pub const PaleGreen: i32 = -6_751_336i32
pub const PaleTurquoise: i32 = -5_247_250i32
pub const PaleVioletRed: i32 = -2_396_013i32
pub const PapayaWhip: i32 = -4_139i32
pub const PeachPuff: i32 = -9_543i32
pub const Peru: i32 = -3_308_225i32
pub const Pink: i32 = -16_181i32
pub const Plum: i32 = -2_252_579i32
pub const PowderBlue: i32 = -5_185_306i32
pub const Purple: i32 = -8_388_480i32
pub const Red: i32 = -65_536i32
pub const RosyBrown: i32 = -4_419_697i32
pub const RoyalBlue: i32 = -12_490_271i32
pub const SaddleBrown: i32 = -7_650_029i32
pub const Salmon: i32 = -360_334i32
pub const SandyBrown: i32 = -744_352i32
pub const SeaGreen: i32 = -13_726_889i32
pub const SeaShell: i32 = -2_578i32
pub const Sienna: i32 = -6_270_419i32
pub const Silver: i32 = -4_144_960i32
pub const SkyBlue: i32 = -7_876_885i32
pub const SlateBlue: i32 = -9_807_155i32
pub const SlateGray: i32 = -9_404_272i32
pub const Snow: i32 = -1_286i32
pub const SpringGreen: i32 = -16_711_809i32
pub const SteelBlue: i32 = -12_156_236i32
pub const Tan: i32 = -2_968_436i32
pub const Teal: i32 = -16_744_320i32
pub const Thistle: i32 = -2_572_328i32
pub const Tomato: i32 = -40_121i32
pub const Transparent: i32 = 16_777_215i32
pub const Turquoise: i32 = -12_525_360i32
pub const Violet: i32 = -1_146_130i32
pub const Wheat: i32 = -663_885i32
pub const White: i32 = -1i32
pub const WhiteSmoke: i32 = -657_931i32
pub const Yellow: i32 = -256i32
pub const YellowGreen: i32 = -6_632_142i32
pub const AlphaShift: i32 = 24i32
pub const RedShift: i32 = 16i32
pub const GreenShift: i32 = 8i32
pub const BlueShift: i32 = 0i32
pub const AlphaMask: i32 = -16_777_216i32
pub const RedMask: i32 = 16_711_680i32
pub const GreenMask: i32 = 65_280i32
pub const BlueMask: i32 = 255i32
Trait Implementations§
impl Copy for Color
impl Eq for Color
impl StructuralPartialEq for Color
Auto Trait Implementations§
impl Freeze for Color
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)