Enum awi::FontColor
[−]
[src]
#[repr(u8)]pub enum FontColor { Default, RgbaInt(u8, u8, u8, u8), RgbaFloat(f32, f32, f32, f32), }
Text color
Variants
DefaultBlack on light background, or white on dark background
RgbaInt(u8, u8, u8, u8)RGBA 32 bits
RgbaFloat(f32, f32, f32, f32)RGBA Floating Point
Trait Implementations
impl PartialEq<FontColor> for FontColor[src]
fn eq(&self, __arg_0: &FontColor) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &FontColor) -> bool[src]
This method tests for !=.
impl Clone for FontColor[src]
fn clone(&self) -> FontColor[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more