#[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 get_relative_position(
&self
) -> &Option<ReferenceLineValueLabelRelativePosition>
pub fn get_relative_position( &self ) -> &Option<ReferenceLineValueLabelRelativePosition>
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 get_format_configuration(&self) -> &Option<NumericFormatConfiguration>
pub fn get_format_configuration(&self) -> &Option<NumericFormatConfiguration>
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 for ReferenceLineValueLabelConfigurationBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for ReferenceLineValueLabelConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ReferenceLineValueLabelConfigurationBuilder
impl RefUnwindSafe for ReferenceLineValueLabelConfigurationBuilder
impl Send for ReferenceLineValueLabelConfigurationBuilder
impl Sync for ReferenceLineValueLabelConfigurationBuilder
impl Unpin for ReferenceLineValueLabelConfigurationBuilder
impl UnwindSafe for ReferenceLineValueLabelConfigurationBuilder
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.