#[non_exhaustive]pub struct ReferenceLineLabelConfigurationBuilder { /* private fields */ }
Expand description
A builder for ReferenceLineLabelConfiguration
.
Implementations§
source§impl ReferenceLineLabelConfigurationBuilder
impl ReferenceLineLabelConfigurationBuilder
sourcepub fn value_label_configuration(
self,
input: ReferenceLineValueLabelConfiguration
) -> Self
pub fn value_label_configuration( self, input: ReferenceLineValueLabelConfiguration ) -> Self
The value label configuration of the label in a reference line.
sourcepub fn set_value_label_configuration(
self,
input: Option<ReferenceLineValueLabelConfiguration>
) -> Self
pub fn set_value_label_configuration( self, input: Option<ReferenceLineValueLabelConfiguration> ) -> Self
The value label configuration of the label in a reference line.
sourcepub fn get_value_label_configuration(
&self
) -> &Option<ReferenceLineValueLabelConfiguration>
pub fn get_value_label_configuration( &self ) -> &Option<ReferenceLineValueLabelConfiguration>
The value label configuration of the label in a reference line.
sourcepub fn custom_label_configuration(
self,
input: ReferenceLineCustomLabelConfiguration
) -> Self
pub fn custom_label_configuration( self, input: ReferenceLineCustomLabelConfiguration ) -> Self
The custom label configuration of the label in a reference line.
sourcepub fn set_custom_label_configuration(
self,
input: Option<ReferenceLineCustomLabelConfiguration>
) -> Self
pub fn set_custom_label_configuration( self, input: Option<ReferenceLineCustomLabelConfiguration> ) -> Self
The custom label configuration of the label in a reference line.
sourcepub fn get_custom_label_configuration(
&self
) -> &Option<ReferenceLineCustomLabelConfiguration>
pub fn get_custom_label_configuration( &self ) -> &Option<ReferenceLineCustomLabelConfiguration>
The custom label configuration of the label in a reference line.
sourcepub fn font_configuration(self, input: FontConfiguration) -> Self
pub fn font_configuration(self, input: FontConfiguration) -> Self
The font configuration of the label in a reference line.
sourcepub fn set_font_configuration(self, input: Option<FontConfiguration>) -> Self
pub fn set_font_configuration(self, input: Option<FontConfiguration>) -> Self
The font configuration of the label in a reference line.
sourcepub fn get_font_configuration(&self) -> &Option<FontConfiguration>
pub fn get_font_configuration(&self) -> &Option<FontConfiguration>
The font configuration of the label in a reference line.
sourcepub fn font_color(self, input: impl Into<String>) -> Self
pub fn font_color(self, input: impl Into<String>) -> Self
The font color configuration of the label in a reference line.
sourcepub fn set_font_color(self, input: Option<String>) -> Self
pub fn set_font_color(self, input: Option<String>) -> Self
The font color configuration of the label in a reference line.
sourcepub fn get_font_color(&self) -> &Option<String>
pub fn get_font_color(&self) -> &Option<String>
The font color configuration of the label in a reference line.
sourcepub fn horizontal_position(
self,
input: ReferenceLineLabelHorizontalPosition
) -> Self
pub fn horizontal_position( self, input: ReferenceLineLabelHorizontalPosition ) -> Self
The horizontal position configuration of the label in a reference line. Choose one of the following options:
-
LEFT
-
CENTER
-
RIGHT
sourcepub fn set_horizontal_position(
self,
input: Option<ReferenceLineLabelHorizontalPosition>
) -> Self
pub fn set_horizontal_position( self, input: Option<ReferenceLineLabelHorizontalPosition> ) -> Self
The horizontal position configuration of the label in a reference line. Choose one of the following options:
-
LEFT
-
CENTER
-
RIGHT
sourcepub fn get_horizontal_position(
&self
) -> &Option<ReferenceLineLabelHorizontalPosition>
pub fn get_horizontal_position( &self ) -> &Option<ReferenceLineLabelHorizontalPosition>
The horizontal position configuration of the label in a reference line. Choose one of the following options:
-
LEFT
-
CENTER
-
RIGHT
sourcepub fn vertical_position(
self,
input: ReferenceLineLabelVerticalPosition
) -> Self
pub fn vertical_position( self, input: ReferenceLineLabelVerticalPosition ) -> Self
The vertical position configuration of the label in a reference line. Choose one of the following options:
-
ABOVE
-
BELOW
sourcepub fn set_vertical_position(
self,
input: Option<ReferenceLineLabelVerticalPosition>
) -> Self
pub fn set_vertical_position( self, input: Option<ReferenceLineLabelVerticalPosition> ) -> Self
The vertical position configuration of the label in a reference line. Choose one of the following options:
-
ABOVE
-
BELOW
sourcepub fn get_vertical_position(
&self
) -> &Option<ReferenceLineLabelVerticalPosition>
pub fn get_vertical_position( &self ) -> &Option<ReferenceLineLabelVerticalPosition>
The vertical position configuration of the label in a reference line. Choose one of the following options:
-
ABOVE
-
BELOW
sourcepub fn build(self) -> ReferenceLineLabelConfiguration
pub fn build(self) -> ReferenceLineLabelConfiguration
Consumes the builder and constructs a ReferenceLineLabelConfiguration
.
Trait Implementations§
source§impl Clone for ReferenceLineLabelConfigurationBuilder
impl Clone for ReferenceLineLabelConfigurationBuilder
source§fn clone(&self) -> ReferenceLineLabelConfigurationBuilder
fn clone(&self) -> ReferenceLineLabelConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReferenceLineLabelConfigurationBuilder
impl Default for ReferenceLineLabelConfigurationBuilder
source§fn default() -> ReferenceLineLabelConfigurationBuilder
fn default() -> ReferenceLineLabelConfigurationBuilder
source§impl PartialEq for ReferenceLineLabelConfigurationBuilder
impl PartialEq for ReferenceLineLabelConfigurationBuilder
source§fn eq(&self, other: &ReferenceLineLabelConfigurationBuilder) -> bool
fn eq(&self, other: &ReferenceLineLabelConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.