#[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 ==
.impl StructuralPartialEq for ReferenceLineLabelConfigurationBuilder
Auto Trait Implementations§
impl Freeze for ReferenceLineLabelConfigurationBuilder
impl RefUnwindSafe for ReferenceLineLabelConfigurationBuilder
impl Send for ReferenceLineLabelConfigurationBuilder
impl Sync for ReferenceLineLabelConfigurationBuilder
impl Unpin for ReferenceLineLabelConfigurationBuilder
impl UnwindSafe for ReferenceLineLabelConfigurationBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more