#[non_exhaustive]pub struct GaugeChartOptionsBuilder { /* private fields */ }Expand description
A builder for GaugeChartOptions.
Implementations§
source§impl GaugeChartOptionsBuilder
impl GaugeChartOptionsBuilder
sourcepub fn primary_value_display_type(self, input: PrimaryValueDisplayType) -> Self
pub fn primary_value_display_type(self, input: PrimaryValueDisplayType) -> Self
The options that determine the primary value display type.
sourcepub fn set_primary_value_display_type(
self,
input: Option<PrimaryValueDisplayType>,
) -> Self
pub fn set_primary_value_display_type( self, input: Option<PrimaryValueDisplayType>, ) -> Self
The options that determine the primary value display type.
sourcepub fn get_primary_value_display_type(&self) -> &Option<PrimaryValueDisplayType>
pub fn get_primary_value_display_type(&self) -> &Option<PrimaryValueDisplayType>
The options that determine the primary value display type.
sourcepub fn comparison(self, input: ComparisonConfiguration) -> Self
pub fn comparison(self, input: ComparisonConfiguration) -> Self
The comparison configuration of a GaugeChartVisual.
sourcepub fn set_comparison(self, input: Option<ComparisonConfiguration>) -> Self
pub fn set_comparison(self, input: Option<ComparisonConfiguration>) -> Self
The comparison configuration of a GaugeChartVisual.
sourcepub fn get_comparison(&self) -> &Option<ComparisonConfiguration>
pub fn get_comparison(&self) -> &Option<ComparisonConfiguration>
The comparison configuration of a GaugeChartVisual.
sourcepub fn arc_axis(self, input: ArcAxisConfiguration) -> Self
pub fn arc_axis(self, input: ArcAxisConfiguration) -> Self
The arc axis configuration of a GaugeChartVisual.
sourcepub fn set_arc_axis(self, input: Option<ArcAxisConfiguration>) -> Self
pub fn set_arc_axis(self, input: Option<ArcAxisConfiguration>) -> Self
The arc axis configuration of a GaugeChartVisual.
sourcepub fn get_arc_axis(&self) -> &Option<ArcAxisConfiguration>
pub fn get_arc_axis(&self) -> &Option<ArcAxisConfiguration>
The arc axis configuration of a GaugeChartVisual.
sourcepub fn arc(self, input: ArcConfiguration) -> Self
pub fn arc(self, input: ArcConfiguration) -> Self
The arc configuration of a GaugeChartVisual.
sourcepub fn set_arc(self, input: Option<ArcConfiguration>) -> Self
pub fn set_arc(self, input: Option<ArcConfiguration>) -> Self
The arc configuration of a GaugeChartVisual.
sourcepub fn get_arc(&self) -> &Option<ArcConfiguration>
pub fn get_arc(&self) -> &Option<ArcConfiguration>
The arc configuration of a GaugeChartVisual.
sourcepub fn primary_value_font_configuration(self, input: FontConfiguration) -> Self
pub fn primary_value_font_configuration(self, input: FontConfiguration) -> Self
The options that determine the primary value font configuration.
sourcepub fn set_primary_value_font_configuration(
self,
input: Option<FontConfiguration>,
) -> Self
pub fn set_primary_value_font_configuration( self, input: Option<FontConfiguration>, ) -> Self
The options that determine the primary value font configuration.
sourcepub fn get_primary_value_font_configuration(&self) -> &Option<FontConfiguration>
pub fn get_primary_value_font_configuration(&self) -> &Option<FontConfiguration>
The options that determine the primary value font configuration.
sourcepub fn build(self) -> GaugeChartOptions
pub fn build(self) -> GaugeChartOptions
Consumes the builder and constructs a GaugeChartOptions.
Trait Implementations§
source§impl Clone for GaugeChartOptionsBuilder
impl Clone for GaugeChartOptionsBuilder
source§fn clone(&self) -> GaugeChartOptionsBuilder
fn clone(&self) -> GaugeChartOptionsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GaugeChartOptionsBuilder
impl Debug for GaugeChartOptionsBuilder
source§impl Default for GaugeChartOptionsBuilder
impl Default for GaugeChartOptionsBuilder
source§fn default() -> GaugeChartOptionsBuilder
fn default() -> GaugeChartOptionsBuilder
source§impl PartialEq for GaugeChartOptionsBuilder
impl PartialEq for GaugeChartOptionsBuilder
source§fn eq(&self, other: &GaugeChartOptionsBuilder) -> bool
fn eq(&self, other: &GaugeChartOptionsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GaugeChartOptionsBuilder
Auto Trait Implementations§
impl Freeze for GaugeChartOptionsBuilder
impl RefUnwindSafe for GaugeChartOptionsBuilder
impl Send for GaugeChartOptionsBuilder
impl Sync for GaugeChartOptionsBuilder
impl Unpin for GaugeChartOptionsBuilder
impl UnwindSafe for GaugeChartOptionsBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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