#[non_exhaustive]pub struct ReferenceLineValueLabelConfigurationBuilder { /* private fields */ }Expand description
A builder for ReferenceLineValueLabelConfiguration.
Implementations§
source§impl ReferenceLineValueLabelConfigurationBuilder
impl ReferenceLineValueLabelConfigurationBuilder
sourcepub fn relative_position(
self,
input: ReferenceLineValueLabelRelativePosition
) -> Self
pub fn relative_position( self, input: ReferenceLineValueLabelRelativePosition ) -> Self
The relative position of the value label. Choose one of the following options:
-
BEFORE_CUSTOM_LABEL -
AFTER_CUSTOM_LABEL
sourcepub fn set_relative_position(
self,
input: Option<ReferenceLineValueLabelRelativePosition>
) -> Self
pub fn set_relative_position( self, input: Option<ReferenceLineValueLabelRelativePosition> ) -> Self
The relative position of the value label. Choose one of the following options:
-
BEFORE_CUSTOM_LABEL -
AFTER_CUSTOM_LABEL
sourcepub fn format_configuration(self, input: NumericFormatConfiguration) -> Self
pub fn format_configuration(self, input: NumericFormatConfiguration) -> Self
The format configuration of the value label.
sourcepub fn set_format_configuration(
self,
input: Option<NumericFormatConfiguration>
) -> Self
pub fn set_format_configuration( self, input: Option<NumericFormatConfiguration> ) -> Self
The format configuration of the value label.
sourcepub fn build(self) -> ReferenceLineValueLabelConfiguration
pub fn build(self) -> ReferenceLineValueLabelConfiguration
Consumes the builder and constructs a ReferenceLineValueLabelConfiguration.
Trait Implementations§
source§impl Clone for ReferenceLineValueLabelConfigurationBuilder
impl Clone for ReferenceLineValueLabelConfigurationBuilder
source§fn clone(&self) -> ReferenceLineValueLabelConfigurationBuilder
fn clone(&self) -> ReferenceLineValueLabelConfigurationBuilder
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 Default for ReferenceLineValueLabelConfigurationBuilder
impl Default for ReferenceLineValueLabelConfigurationBuilder
source§fn default() -> ReferenceLineValueLabelConfigurationBuilder
fn default() -> ReferenceLineValueLabelConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ReferenceLineValueLabelConfigurationBuilder> for ReferenceLineValueLabelConfigurationBuilder
impl PartialEq<ReferenceLineValueLabelConfigurationBuilder> for ReferenceLineValueLabelConfigurationBuilder
source§fn eq(&self, other: &ReferenceLineValueLabelConfigurationBuilder) -> bool
fn eq(&self, other: &ReferenceLineValueLabelConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.