#[non_exhaustive]pub struct AxisDisplayOptionsBuilder { /* private fields */ }
Expand description
A builder for AxisDisplayOptions
.
Implementations§
source§impl AxisDisplayOptionsBuilder
impl AxisDisplayOptionsBuilder
sourcepub fn tick_label_options(self, input: AxisTickLabelOptions) -> Self
pub fn tick_label_options(self, input: AxisTickLabelOptions) -> Self
The tick label options of an axis.
sourcepub fn set_tick_label_options(self, input: Option<AxisTickLabelOptions>) -> Self
pub fn set_tick_label_options(self, input: Option<AxisTickLabelOptions>) -> Self
The tick label options of an axis.
sourcepub fn get_tick_label_options(&self) -> &Option<AxisTickLabelOptions>
pub fn get_tick_label_options(&self) -> &Option<AxisTickLabelOptions>
The tick label options of an axis.
sourcepub fn axis_line_visibility(self, input: Visibility) -> Self
pub fn axis_line_visibility(self, input: Visibility) -> Self
Determines whether or not the axis line is visible.
sourcepub fn set_axis_line_visibility(self, input: Option<Visibility>) -> Self
pub fn set_axis_line_visibility(self, input: Option<Visibility>) -> Self
Determines whether or not the axis line is visible.
sourcepub fn get_axis_line_visibility(&self) -> &Option<Visibility>
pub fn get_axis_line_visibility(&self) -> &Option<Visibility>
Determines whether or not the axis line is visible.
sourcepub fn grid_line_visibility(self, input: Visibility) -> Self
pub fn grid_line_visibility(self, input: Visibility) -> Self
Determines whether or not the grid line is visible.
sourcepub fn set_grid_line_visibility(self, input: Option<Visibility>) -> Self
pub fn set_grid_line_visibility(self, input: Option<Visibility>) -> Self
Determines whether or not the grid line is visible.
sourcepub fn get_grid_line_visibility(&self) -> &Option<Visibility>
pub fn get_grid_line_visibility(&self) -> &Option<Visibility>
Determines whether or not the grid line is visible.
sourcepub fn data_options(self, input: AxisDataOptions) -> Self
pub fn data_options(self, input: AxisDataOptions) -> Self
The data options for an axis.
sourcepub fn set_data_options(self, input: Option<AxisDataOptions>) -> Self
pub fn set_data_options(self, input: Option<AxisDataOptions>) -> Self
The data options for an axis.
sourcepub fn get_data_options(&self) -> &Option<AxisDataOptions>
pub fn get_data_options(&self) -> &Option<AxisDataOptions>
The data options for an axis.
sourcepub fn scrollbar_options(self, input: ScrollBarOptions) -> Self
pub fn scrollbar_options(self, input: ScrollBarOptions) -> Self
The scroll bar options for an axis.
sourcepub fn set_scrollbar_options(self, input: Option<ScrollBarOptions>) -> Self
pub fn set_scrollbar_options(self, input: Option<ScrollBarOptions>) -> Self
The scroll bar options for an axis.
sourcepub fn get_scrollbar_options(&self) -> &Option<ScrollBarOptions>
pub fn get_scrollbar_options(&self) -> &Option<ScrollBarOptions>
The scroll bar options for an axis.
sourcepub fn axis_offset(self, input: impl Into<String>) -> Self
pub fn axis_offset(self, input: impl Into<String>) -> Self
The offset value that determines the starting placement of the axis within a visual's bounds.
sourcepub fn set_axis_offset(self, input: Option<String>) -> Self
pub fn set_axis_offset(self, input: Option<String>) -> Self
The offset value that determines the starting placement of the axis within a visual's bounds.
sourcepub fn get_axis_offset(&self) -> &Option<String>
pub fn get_axis_offset(&self) -> &Option<String>
The offset value that determines the starting placement of the axis within a visual's bounds.
sourcepub fn build(self) -> AxisDisplayOptions
pub fn build(self) -> AxisDisplayOptions
Consumes the builder and constructs a AxisDisplayOptions
.
Trait Implementations§
source§impl Clone for AxisDisplayOptionsBuilder
impl Clone for AxisDisplayOptionsBuilder
source§fn clone(&self) -> AxisDisplayOptionsBuilder
fn clone(&self) -> AxisDisplayOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AxisDisplayOptionsBuilder
impl Debug for AxisDisplayOptionsBuilder
source§impl Default for AxisDisplayOptionsBuilder
impl Default for AxisDisplayOptionsBuilder
source§fn default() -> AxisDisplayOptionsBuilder
fn default() -> AxisDisplayOptionsBuilder
source§impl PartialEq for AxisDisplayOptionsBuilder
impl PartialEq for AxisDisplayOptionsBuilder
source§fn eq(&self, other: &AxisDisplayOptionsBuilder) -> bool
fn eq(&self, other: &AxisDisplayOptionsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.