pub struct ThemeConfiguration {
pub data_color_palette: Option<DataColorPalette>,
pub sheet: Option<SheetStyle>,
pub ui_color_palette: Option<UIColorPalette>,
}
Expand description
The theme configuration. This configuration contains all of the display properties for a theme.
Fields§
§data_color_palette: Option<DataColorPalette>
Color properties that apply to chart data colors.
sheet: Option<SheetStyle>
Display options related to sheets.
ui_color_palette: Option<UIColorPalette>
Color properties that apply to the UI and to charts, excluding the colors that apply to data.
Trait Implementations§
Source§impl Clone for ThemeConfiguration
impl Clone for ThemeConfiguration
Source§fn clone(&self) -> ThemeConfiguration
fn clone(&self) -> ThemeConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ThemeConfiguration
impl Debug for ThemeConfiguration
Source§impl Default for ThemeConfiguration
impl Default for ThemeConfiguration
Source§fn default() -> ThemeConfiguration
fn default() -> ThemeConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ThemeConfiguration
impl<'de> Deserialize<'de> for ThemeConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ThemeConfiguration
impl PartialEq for ThemeConfiguration
Source§impl Serialize for ThemeConfiguration
impl Serialize for ThemeConfiguration
impl StructuralPartialEq for ThemeConfiguration
Auto Trait Implementations§
impl Freeze for ThemeConfiguration
impl RefUnwindSafe for ThemeConfiguration
impl Send for ThemeConfiguration
impl Sync for ThemeConfiguration
impl Unpin for ThemeConfiguration
impl UnwindSafe for ThemeConfiguration
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