Struct erg_common::style::ThemeColors
source · pub struct ThemeColors {
pub error: Color,
pub warning: Color,
pub exception: Color,
pub gutter: Color,
pub hint: Color,
pub accent: Color,
}
Fields§
§error: Color
§warning: Color
§exception: Color
§gutter: Color
§hint: Color
§accent: Color
Trait Implementations§
source§impl Clone for ThemeColors
impl Clone for ThemeColors
source§fn clone(&self) -> ThemeColors
fn clone(&self) -> ThemeColors
Returns a copy 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 ThemeColors
impl Debug for ThemeColors
source§impl Hash for ThemeColors
impl Hash for ThemeColors
source§impl PartialEq for ThemeColors
impl PartialEq for ThemeColors
source§fn eq(&self, other: &ThemeColors) -> bool
fn eq(&self, other: &ThemeColors) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ThemeColors
impl StructuralPartialEq for ThemeColors
Auto Trait Implementations§
impl Freeze for ThemeColors
impl RefUnwindSafe for ThemeColors
impl Send for ThemeColors
impl Sync for ThemeColors
impl Unpin for ThemeColors
impl UnwindSafe for ThemeColors
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