pub struct ColorScheme {
pub ok: RgbColor,
pub warning: RgbColor,
pub critical: RgbColor,
pub neutral: RgbColor,
pub background: RgbColor,
}Expand description
Colorblind-safe color scheme based on Viridis
Fields§
§ok: RgbColorOK/Success color (teal)
warning: RgbColorWarning color (yellow)
critical: RgbColorCritical color (red-orange)
neutral: RgbColorNeutral color (blue)
background: RgbColorBackground color (dark purple)
Trait Implementations§
Source§impl Clone for ColorScheme
impl Clone for ColorScheme
Source§impl Debug for ColorScheme
impl Debug for ColorScheme
Auto Trait Implementations§
impl Freeze for ColorScheme
impl RefUnwindSafe for ColorScheme
impl Send for ColorScheme
impl Sync for ColorScheme
impl Unpin for ColorScheme
impl UnsafeUnpin for ColorScheme
impl UnwindSafe for ColorScheme
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