#[non_exhaustive]pub struct ThemeConfigurationBuilder { /* private fields */ }Expand description
A builder for ThemeConfiguration.
Implementations§
source§impl ThemeConfigurationBuilder
impl ThemeConfigurationBuilder
sourcepub fn data_color_palette(self, input: DataColorPalette) -> Self
pub fn data_color_palette(self, input: DataColorPalette) -> Self
Color properties that apply to chart data colors.
sourcepub fn set_data_color_palette(self, input: Option<DataColorPalette>) -> Self
pub fn set_data_color_palette(self, input: Option<DataColorPalette>) -> Self
Color properties that apply to chart data colors.
sourcepub fn get_data_color_palette(&self) -> &Option<DataColorPalette>
pub fn get_data_color_palette(&self) -> &Option<DataColorPalette>
Color properties that apply to chart data colors.
sourcepub fn ui_color_palette(self, input: UiColorPalette) -> Self
pub fn ui_color_palette(self, input: UiColorPalette) -> Self
Color properties that apply to the UI and to charts, excluding the colors that apply to data.
sourcepub fn set_ui_color_palette(self, input: Option<UiColorPalette>) -> Self
pub fn set_ui_color_palette(self, input: Option<UiColorPalette>) -> Self
Color properties that apply to the UI and to charts, excluding the colors that apply to data.
sourcepub fn get_ui_color_palette(&self) -> &Option<UiColorPalette>
pub fn get_ui_color_palette(&self) -> &Option<UiColorPalette>
Color properties that apply to the UI and to charts, excluding the colors that apply to data.
sourcepub fn sheet(self, input: SheetStyle) -> Self
pub fn sheet(self, input: SheetStyle) -> Self
Display options related to sheets.
sourcepub fn set_sheet(self, input: Option<SheetStyle>) -> Self
pub fn set_sheet(self, input: Option<SheetStyle>) -> Self
Display options related to sheets.
sourcepub fn get_sheet(&self) -> &Option<SheetStyle>
pub fn get_sheet(&self) -> &Option<SheetStyle>
Display options related to sheets.
sourcepub fn typography(self, input: Typography) -> Self
pub fn typography(self, input: Typography) -> Self
Determines the typography options.
sourcepub fn set_typography(self, input: Option<Typography>) -> Self
pub fn set_typography(self, input: Option<Typography>) -> Self
Determines the typography options.
sourcepub fn get_typography(&self) -> &Option<Typography>
pub fn get_typography(&self) -> &Option<Typography>
Determines the typography options.
sourcepub fn build(self) -> ThemeConfiguration
pub fn build(self) -> ThemeConfiguration
Consumes the builder and constructs a ThemeConfiguration.
Trait Implementations§
source§impl Clone for ThemeConfigurationBuilder
impl Clone for ThemeConfigurationBuilder
source§fn clone(&self) -> ThemeConfigurationBuilder
fn clone(&self) -> ThemeConfigurationBuilder
Returns a copy 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 ThemeConfigurationBuilder
impl Debug for ThemeConfigurationBuilder
source§impl Default for ThemeConfigurationBuilder
impl Default for ThemeConfigurationBuilder
source§fn default() -> ThemeConfigurationBuilder
fn default() -> ThemeConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ThemeConfigurationBuilder
impl PartialEq for ThemeConfigurationBuilder
source§fn eq(&self, other: &ThemeConfigurationBuilder) -> bool
fn eq(&self, other: &ThemeConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ThemeConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ThemeConfigurationBuilder
impl RefUnwindSafe for ThemeConfigurationBuilder
impl Send for ThemeConfigurationBuilder
impl Sync for ThemeConfigurationBuilder
impl Unpin for ThemeConfigurationBuilder
impl UnwindSafe for ThemeConfigurationBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.