pub struct ThemeOverrides {Show 17 fields
pub idle_bg: Option<ColorOrLink>,
pub idle_fg: Option<ColorOrLink>,
pub info_bg: Option<ColorOrLink>,
pub info_fg: Option<ColorOrLink>,
pub good_bg: Option<ColorOrLink>,
pub good_fg: Option<ColorOrLink>,
pub warning_bg: Option<ColorOrLink>,
pub warning_fg: Option<ColorOrLink>,
pub critical_bg: Option<ColorOrLink>,
pub critical_fg: Option<ColorOrLink>,
pub separator: Option<Separator>,
pub separator_bg: Option<ColorOrLink>,
pub separator_fg: Option<ColorOrLink>,
pub alternating_tint_bg: Option<ColorOrLink>,
pub alternating_tint_fg: Option<ColorOrLink>,
pub end_separator: Option<Separator>,
pub start_separator: Option<Separator>,
}
Fields§
§idle_bg: Option<ColorOrLink>
§idle_fg: Option<ColorOrLink>
§info_bg: Option<ColorOrLink>
§info_fg: Option<ColorOrLink>
§good_bg: Option<ColorOrLink>
§good_fg: Option<ColorOrLink>
§warning_bg: Option<ColorOrLink>
§warning_fg: Option<ColorOrLink>
§critical_bg: Option<ColorOrLink>
§critical_fg: Option<ColorOrLink>
§separator: Option<Separator>
§separator_bg: Option<ColorOrLink>
§separator_fg: Option<ColorOrLink>
§alternating_tint_bg: Option<ColorOrLink>
§alternating_tint_fg: Option<ColorOrLink>
§end_separator: Option<Separator>
§start_separator: Option<Separator>
Trait Implementations§
source§impl Clone for ThemeOverrides
impl Clone for ThemeOverrides
source§fn clone(&self) -> ThemeOverrides
fn clone(&self) -> ThemeOverrides
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 ThemeOverrides
impl Debug for ThemeOverrides
source§impl Default for ThemeOverrides
impl Default for ThemeOverrides
source§fn default() -> ThemeOverrides
fn default() -> ThemeOverrides
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ThemeOverrides
impl<'de> Deserialize<'de> for ThemeOverrides
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ThemeOverrides
impl RefUnwindSafe for ThemeOverrides
impl Send for ThemeOverrides
impl Sync for ThemeOverrides
impl Unpin for ThemeOverrides
impl UnwindSafe for ThemeOverrides
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.