#[non_exhaustive]pub struct PanelConfigurationBuilder { /* private fields */ }Expand description
A builder for PanelConfiguration.
Implementations§
source§impl PanelConfigurationBuilder
impl PanelConfigurationBuilder
sourcepub fn title(self, input: PanelTitleOptions) -> Self
pub fn title(self, input: PanelTitleOptions) -> Self
Configures the title display within each small multiples panel.
sourcepub fn set_title(self, input: Option<PanelTitleOptions>) -> Self
pub fn set_title(self, input: Option<PanelTitleOptions>) -> Self
Configures the title display within each small multiples panel.
sourcepub fn get_title(&self) -> &Option<PanelTitleOptions>
pub fn get_title(&self) -> &Option<PanelTitleOptions>
Configures the title display within each small multiples panel.
sourcepub fn border_visibility(self, input: Visibility) -> Self
pub fn border_visibility(self, input: Visibility) -> Self
Determines whether or not each panel displays a border.
sourcepub fn set_border_visibility(self, input: Option<Visibility>) -> Self
pub fn set_border_visibility(self, input: Option<Visibility>) -> Self
Determines whether or not each panel displays a border.
sourcepub fn get_border_visibility(&self) -> &Option<Visibility>
pub fn get_border_visibility(&self) -> &Option<Visibility>
Determines whether or not each panel displays a border.
sourcepub fn border_thickness(self, input: impl Into<String>) -> Self
pub fn border_thickness(self, input: impl Into<String>) -> Self
Sets the line thickness of panel borders.
sourcepub fn set_border_thickness(self, input: Option<String>) -> Self
pub fn set_border_thickness(self, input: Option<String>) -> Self
Sets the line thickness of panel borders.
sourcepub fn get_border_thickness(&self) -> &Option<String>
pub fn get_border_thickness(&self) -> &Option<String>
Sets the line thickness of panel borders.
sourcepub fn border_style(self, input: PanelBorderStyle) -> Self
pub fn border_style(self, input: PanelBorderStyle) -> Self
Sets the line style of panel borders.
sourcepub fn set_border_style(self, input: Option<PanelBorderStyle>) -> Self
pub fn set_border_style(self, input: Option<PanelBorderStyle>) -> Self
Sets the line style of panel borders.
sourcepub fn get_border_style(&self) -> &Option<PanelBorderStyle>
pub fn get_border_style(&self) -> &Option<PanelBorderStyle>
Sets the line style of panel borders.
sourcepub fn border_color(self, input: impl Into<String>) -> Self
pub fn border_color(self, input: impl Into<String>) -> Self
Sets the line color of panel borders.
sourcepub fn set_border_color(self, input: Option<String>) -> Self
pub fn set_border_color(self, input: Option<String>) -> Self
Sets the line color of panel borders.
sourcepub fn get_border_color(&self) -> &Option<String>
pub fn get_border_color(&self) -> &Option<String>
Sets the line color of panel borders.
sourcepub fn gutter_visibility(self, input: Visibility) -> Self
pub fn gutter_visibility(self, input: Visibility) -> Self
Determines whether or not negative space between sibling panels is rendered.
sourcepub fn set_gutter_visibility(self, input: Option<Visibility>) -> Self
pub fn set_gutter_visibility(self, input: Option<Visibility>) -> Self
Determines whether or not negative space between sibling panels is rendered.
sourcepub fn get_gutter_visibility(&self) -> &Option<Visibility>
pub fn get_gutter_visibility(&self) -> &Option<Visibility>
Determines whether or not negative space between sibling panels is rendered.
sourcepub fn gutter_spacing(self, input: impl Into<String>) -> Self
pub fn gutter_spacing(self, input: impl Into<String>) -> Self
Sets the total amount of negative space to display between sibling panels.
sourcepub fn set_gutter_spacing(self, input: Option<String>) -> Self
pub fn set_gutter_spacing(self, input: Option<String>) -> Self
Sets the total amount of negative space to display between sibling panels.
sourcepub fn get_gutter_spacing(&self) -> &Option<String>
pub fn get_gutter_spacing(&self) -> &Option<String>
Sets the total amount of negative space to display between sibling panels.
sourcepub fn background_visibility(self, input: Visibility) -> Self
pub fn background_visibility(self, input: Visibility) -> Self
Determines whether or not a background for each small multiples panel is rendered.
sourcepub fn set_background_visibility(self, input: Option<Visibility>) -> Self
pub fn set_background_visibility(self, input: Option<Visibility>) -> Self
Determines whether or not a background for each small multiples panel is rendered.
sourcepub fn get_background_visibility(&self) -> &Option<Visibility>
pub fn get_background_visibility(&self) -> &Option<Visibility>
Determines whether or not a background for each small multiples panel is rendered.
sourcepub fn background_color(self, input: impl Into<String>) -> Self
pub fn background_color(self, input: impl Into<String>) -> Self
Sets the background color for each panel.
sourcepub fn set_background_color(self, input: Option<String>) -> Self
pub fn set_background_color(self, input: Option<String>) -> Self
Sets the background color for each panel.
sourcepub fn get_background_color(&self) -> &Option<String>
pub fn get_background_color(&self) -> &Option<String>
Sets the background color for each panel.
sourcepub fn build(self) -> PanelConfiguration
pub fn build(self) -> PanelConfiguration
Consumes the builder and constructs a PanelConfiguration.
Trait Implementations§
source§impl Clone for PanelConfigurationBuilder
impl Clone for PanelConfigurationBuilder
source§fn clone(&self) -> PanelConfigurationBuilder
fn clone(&self) -> PanelConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PanelConfigurationBuilder
impl Debug for PanelConfigurationBuilder
source§impl Default for PanelConfigurationBuilder
impl Default for PanelConfigurationBuilder
source§fn default() -> PanelConfigurationBuilder
fn default() -> PanelConfigurationBuilder
source§impl PartialEq for PanelConfigurationBuilder
impl PartialEq for PanelConfigurationBuilder
source§fn eq(&self, other: &PanelConfigurationBuilder) -> bool
fn eq(&self, other: &PanelConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.