Struct i3status_rs::themes::ThemeInner
source · pub struct ThemeInner {Show 17 fields
pub idle_bg: Color,
pub idle_fg: Color,
pub info_bg: Color,
pub info_fg: Color,
pub good_bg: Color,
pub good_fg: Color,
pub warning_bg: Color,
pub warning_fg: Color,
pub critical_bg: Color,
pub critical_fg: Color,
pub separator: Separator,
pub separator_bg: Color,
pub separator_fg: Color,
pub alternating_tint_bg: Color,
pub alternating_tint_fg: Color,
pub end_separator: Separator,
pub start_separator: Separator,
}
Fields§
§idle_bg: Color
§idle_fg: Color
§info_bg: Color
§info_fg: Color
§good_bg: Color
§good_fg: Color
§warning_bg: Color
§warning_fg: Color
§critical_bg: Color
§critical_fg: Color
§separator: Separator
§separator_bg: Color
§separator_fg: Color
§alternating_tint_bg: Color
§alternating_tint_fg: Color
§end_separator: Separator
§start_separator: Separator
Trait Implementations§
source§impl Clone for ThemeInner
impl Clone for ThemeInner
source§fn clone(&self) -> ThemeInner
fn clone(&self) -> ThemeInner
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 ThemeInner
impl Debug for ThemeInner
source§impl Default for ThemeInner
impl Default for ThemeInner
source§fn default() -> ThemeInner
fn default() -> ThemeInner
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ThemeInnerwhere
ThemeInner: Default,
impl<'de> Deserialize<'de> for ThemeInnerwhere
ThemeInner: Default,
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 ThemeInner
impl RefUnwindSafe for ThemeInner
impl Send for ThemeInner
impl Sync for ThemeInner
impl Unpin for ThemeInner
impl UnwindSafe for ThemeInner
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.