#[non_exhaustive]pub struct Theme {
pub background: Rgb,
pub header: Rgb,
pub grid: Rgb,
pub text: Rgb,
pub redacted: Rgb,
pub redacted_text: Rgb,
pub hover: Rgb,
pub accent: Rgb,
pub tooltip: Rgb,
pub series: Rgb,
pub crosshair: Rgb,
}Expand description
Surface colors.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.background: RgbPage fill.
header: RgbHeader fill.
grid: RgbGrid lines.
text: RgbLicensed cell text.
redacted: RgbRedacted fill.
redacted_text: RgbRedacted glyphs.
hover: RgbHover fill.
accent: RgbHeader text / accent.
tooltip: RgbTooltip fill.
series: RgbTimeseries polyline.
crosshair: RgbCrosshair lines.
Implementations§
Trait Implementations§
impl Copy for Theme
impl Eq for Theme
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl Forget for Theme
impl Freeze for Theme
impl Move for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnsafeUnpin for Theme
impl UnwindSafe for Theme
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