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§fn clone(&self) -> ColorScheme
fn clone(&self) -> ColorScheme
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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