pub struct ChartSemanticTokens {Show 15 fields
pub bg: Color32,
pub bg_axis: Color32,
pub grid_line: Color32,
pub grid_line_major: Color32,
pub axis_text: Color32,
pub axis_text_secondary: Color32,
pub crosshair_line: Color32,
pub crosshair_label_bg: Color32,
pub crosshair_label_text: Color32,
pub bullish: Color32,
pub bearish: Color32,
pub volume_up_alpha: u8,
pub volume_down_alpha: u8,
pub watermark_alpha: u8,
pub selection_text: Color32,
}Expand description
Chart area color tokens for default and fallback rendering.
Defines colors for the chart background, grid lines, axis text, crosshair, candle/bar colors (bullish/bearish), volume bar alpha, and watermark.
Fields§
§bg: Color32Background color.
bg_axis: Color32Background axis color.
grid_line: Color32Grid line color.
grid_line_major: Color32Grid line major color.
axis_text: Color32Axis text color.
axis_text_secondary: Color32Axis text secondary color.
crosshair_line: Color32Crosshair line color.
crosshair_label_bg: Color32Crosshair label background color.
crosshair_label_text: Color32Crosshair label text color.
bullish: Color32Bullish color.
bearish: Color32Bearish color.
volume_up_alpha: u8Volume up alpha, from transparent (0) to opaque (255).
volume_down_alpha: u8Volume down alpha, from transparent (0) to opaque (255).
watermark_alpha: u8Watermark alpha, from transparent (0) to opaque (255).
selection_text: Color32Selection text color.
Trait Implementations§
Source§impl Clone for ChartSemanticTokens
impl Clone for ChartSemanticTokens
Source§fn clone(&self) -> ChartSemanticTokens
fn clone(&self) -> ChartSemanticTokens
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 ChartSemanticTokens
impl RefUnwindSafe for ChartSemanticTokens
impl Send for ChartSemanticTokens
impl Sync for ChartSemanticTokens
impl Unpin for ChartSemanticTokens
impl UnsafeUnpin for ChartSemanticTokens
impl UnwindSafe for ChartSemanticTokens
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