#[non_exhaustive]pub struct ReferenceLineValueLabelConfiguration {
pub relative_position: Option<ReferenceLineValueLabelRelativePosition>,
pub format_configuration: Option<NumericFormatConfiguration>,
}
Expand description
The value label configuration of the label in a reference line.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.relative_position: Option<ReferenceLineValueLabelRelativePosition>
The relative position of the value label. Choose one of the following options:
-
BEFORE_CUSTOM_LABEL
-
AFTER_CUSTOM_LABEL
format_configuration: Option<NumericFormatConfiguration>
The format configuration of the value label.
Implementations§
source§impl ReferenceLineValueLabelConfiguration
impl ReferenceLineValueLabelConfiguration
sourcepub fn relative_position(
&self
) -> Option<&ReferenceLineValueLabelRelativePosition>
pub fn 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) -> Option<&NumericFormatConfiguration>
pub fn format_configuration(&self) -> Option<&NumericFormatConfiguration>
The format configuration of the value label.
source§impl ReferenceLineValueLabelConfiguration
impl ReferenceLineValueLabelConfiguration
sourcepub fn builder() -> ReferenceLineValueLabelConfigurationBuilder
pub fn builder() -> ReferenceLineValueLabelConfigurationBuilder
Creates a new builder-style object to manufacture ReferenceLineValueLabelConfiguration
.
Trait Implementations§
source§impl Clone for ReferenceLineValueLabelConfiguration
impl Clone for ReferenceLineValueLabelConfiguration
source§fn clone(&self) -> ReferenceLineValueLabelConfiguration
fn clone(&self) -> ReferenceLineValueLabelConfiguration
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 PartialEq for ReferenceLineValueLabelConfiguration
impl PartialEq for ReferenceLineValueLabelConfiguration
source§fn eq(&self, other: &ReferenceLineValueLabelConfiguration) -> bool
fn eq(&self, other: &ReferenceLineValueLabelConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReferenceLineValueLabelConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for ReferenceLineValueLabelConfiguration
impl Send for ReferenceLineValueLabelConfiguration
impl Sync for ReferenceLineValueLabelConfiguration
impl Unpin for ReferenceLineValueLabelConfiguration
impl UnwindSafe for ReferenceLineValueLabelConfiguration
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.