pub struct ThemeTokens {Show 17 fields
pub bg: Color,
pub text: Color,
pub dim: Color,
pub accent: Color,
pub on_accent: Color,
pub success: Color,
pub warning: Color,
pub error: Color,
pub info: Color,
pub progress_dim: Color,
pub task_track: Color,
pub panel: Color,
pub panel_border: Color,
pub select_bg: Color,
pub select_fg: Color,
pub active_bg: Color,
pub active_fg: Color,
}Fields§
§bg: Color§text: Color§dim: Color§accent: Color§on_accent: Color§success: Color§warning: Color§error: Color§info: Color§progress_dim: Color§task_track: Color§panel: Color§panel_border: Color§select_bg: Color§select_fg: Color§active_bg: Color§active_fg: ColorTrait Implementations§
Source§impl Clone for ThemeTokens
impl Clone for ThemeTokens
Source§fn clone(&self) -> ThemeTokens
fn clone(&self) -> ThemeTokens
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ThemeTokens
Source§impl Debug for ThemeTokens
impl Debug for ThemeTokens
impl Eq for ThemeTokens
Source§impl PartialEq for ThemeTokens
impl PartialEq for ThemeTokens
Source§fn eq(&self, other: &ThemeTokens) -> bool
fn eq(&self, other: &ThemeTokens) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ThemeTokens
Auto Trait Implementations§
impl Freeze for ThemeTokens
impl RefUnwindSafe for ThemeTokens
impl Send for ThemeTokens
impl Sync for ThemeTokens
impl Unpin for ThemeTokens
impl UnsafeUnpin for ThemeTokens
impl UnwindSafe for ThemeTokens
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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