pub struct ExtendedSemanticTokens {Show 19 fields
pub accent: Color32,
pub success: Color32,
pub error: Color32,
pub caution: Color32,
pub info: Color32,
pub disabled: Color32,
pub purple: Color32,
pub gray: Color32,
pub light_gray: Color32,
pub favorite_gold: Color32,
pub chart_bg: Color32,
pub chart_axis_bg: Color32,
pub chart_tooltip_bg: Color32,
pub chart_text: Color32,
pub chart_text_secondary: Color32,
pub chart_text_muted: Color32,
pub chart_crosshair_label_bg: Color32,
pub bullish: Color32,
pub bearish: Color32,
}Expand description
Extended semantic tokens providing flat access to commonly used colors.
This is a convenience collection that gathers the most frequently accessed colors across domains (UI backgrounds, borders, text, accent, status, Material Design palette colors, chart colors, and trading colors) into a single flat namespace.
Fields§
§accent: Color32Accent/brand color.
success: Color32Success status color.
error: Color32Error status color.
caution: Color32Caution status color (softer warning).
info: Color32Info status color.
disabled: Color32Disabled/inactive state color.
purple: Color32Material Design purple.
gray: Color32Gray color.
light_gray: Color32Light gray color.
favorite_gold: Color32Favorite/star gold color.
chart_bg: Color32Chart area background.
chart_axis_bg: Color32Chart axis background.
chart_tooltip_bg: Color32Chart tooltip background.
chart_text: Color32Chart text color.
chart_text_secondary: Color32Chart secondary text color.
chart_text_muted: Color32Chart muted text color.
chart_crosshair_label_bg: Color32Chart crosshair label background.
bullish: Color32Bullish (up) trading color.
bearish: Color32Bearish (down) trading color.
Trait Implementations§
Source§impl Clone for ExtendedSemanticTokens
impl Clone for ExtendedSemanticTokens
Source§fn clone(&self) -> ExtendedSemanticTokens
fn clone(&self) -> ExtendedSemanticTokens
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for ExtendedSemanticTokens
impl RefUnwindSafe for ExtendedSemanticTokens
impl Send for ExtendedSemanticTokens
impl Sync for ExtendedSemanticTokens
impl Unpin for ExtendedSemanticTokens
impl UnsafeUnpin for ExtendedSemanticTokens
impl UnwindSafe for ExtendedSemanticTokens
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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> ⓘ
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