pub struct SemanticTokens {
pub ui: UiSemanticTokens,
pub chart: ChartSemanticTokens,
pub brand: BrandSemanticTokens,
pub status: StatusSemanticTokens,
pub footprint: FootprintSemanticTokens,
pub indicators: IndicatorSemanticTokens,
pub drawings: DrawingSemanticTokens,
pub extended: ExtendedSemanticTokens,
pub tpo: TpoSemanticTokens,
}Expand description
Complete set of semantic color tokens, organized by domain.
This is the top-level color token structure within DesignTokens.
Each field groups defaults and fallbacks for a specific domain, including chart
rendering and drawing tools. UI chrome reads the applied theme.
Fields§
§ui: UiSemanticTokensNeutral engine fallback; UI chrome reads the applied theme.
chart: ChartSemanticTokensChart area colors (background, grid, candles, crosshair, volume).
brand: BrandSemanticTokensBrand accent colors.
status: StatusSemanticTokensStatus defaults.
footprint: FootprintSemanticTokensFootprint defaults.
indicators: IndicatorSemanticTokensIndicators defaults.
drawings: DrawingSemanticTokensDrawings defaults.
extended: ExtendedSemanticTokensAdditional component color defaults.
tpo: TpoSemanticTokensTPO (Market Profile) chart colors
Trait Implementations§
Source§impl Clone for SemanticTokens
impl Clone for SemanticTokens
Source§fn clone(&self) -> SemanticTokens
fn clone(&self) -> SemanticTokens
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 moreAuto Trait Implementations§
impl Freeze for SemanticTokens
impl RefUnwindSafe for SemanticTokens
impl Send for SemanticTokens
impl Sync for SemanticTokens
impl Unpin for SemanticTokens
impl UnsafeUnpin for SemanticTokens
impl UnwindSafe for SemanticTokens
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
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> ⓘ
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