#[repr(u8)]pub enum FontColor {
Default,
RgbaInt(u8, u8, u8, u8),
RgbaFloat(f32, f32, f32, f32),
}Expand description
Text color
Variants§
Default
Black 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 Copy for FontColor
impl StructuralPartialEq for FontColor
Auto Trait Implementations§
impl Freeze for FontColor
impl RefUnwindSafe for FontColor
impl Send for FontColor
impl Sync for FontColor
impl Unpin for FontColor
impl UnwindSafe for FontColor
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