#[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 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 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 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 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 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
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 Debug for GaugeChartOptionsBuilder
impl Debug for GaugeChartOptionsBuilder
source§impl Default for GaugeChartOptionsBuilder
impl Default for GaugeChartOptionsBuilder
source§fn default() -> GaugeChartOptionsBuilder
fn default() -> GaugeChartOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GaugeChartOptionsBuilder> for GaugeChartOptionsBuilder
impl PartialEq<GaugeChartOptionsBuilder> for GaugeChartOptionsBuilder
source§fn eq(&self, other: &GaugeChartOptionsBuilder) -> bool
fn eq(&self, other: &GaugeChartOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GaugeChartOptionsBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more