#[non_exhaustive]pub struct GaugeChartConditionalFormattingOption {
pub primary_value: Option<GaugeChartPrimaryValueConditionalFormatting>,
pub arc: Option<GaugeChartArcConditionalFormatting>,
}Expand description
Conditional formatting options of a GaugeChartVisual.
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.primary_value: Option<GaugeChartPrimaryValueConditionalFormatting>The conditional formatting for the primary value of a GaugeChartVisual.
arc: Option<GaugeChartArcConditionalFormatting>The options that determine the presentation of the arc of a GaugeChartVisual.
Implementations§
source§impl GaugeChartConditionalFormattingOption
impl GaugeChartConditionalFormattingOption
sourcepub fn primary_value(
&self
) -> Option<&GaugeChartPrimaryValueConditionalFormatting>
pub fn primary_value( &self ) -> Option<&GaugeChartPrimaryValueConditionalFormatting>
The conditional formatting for the primary value of a GaugeChartVisual.
sourcepub fn arc(&self) -> Option<&GaugeChartArcConditionalFormatting>
pub fn arc(&self) -> Option<&GaugeChartArcConditionalFormatting>
The options that determine the presentation of the arc of a GaugeChartVisual.
source§impl GaugeChartConditionalFormattingOption
impl GaugeChartConditionalFormattingOption
sourcepub fn builder() -> GaugeChartConditionalFormattingOptionBuilder
pub fn builder() -> GaugeChartConditionalFormattingOptionBuilder
Creates a new builder-style object to manufacture GaugeChartConditionalFormattingOption.
Trait Implementations§
source§impl Clone for GaugeChartConditionalFormattingOption
impl Clone for GaugeChartConditionalFormattingOption
source§fn clone(&self) -> GaugeChartConditionalFormattingOption
fn clone(&self) -> GaugeChartConditionalFormattingOption
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 GaugeChartConditionalFormattingOption
impl PartialEq for GaugeChartConditionalFormattingOption
source§fn eq(&self, other: &GaugeChartConditionalFormattingOption) -> bool
fn eq(&self, other: &GaugeChartConditionalFormattingOption) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GaugeChartConditionalFormattingOption
Auto Trait Implementations§
impl Freeze for GaugeChartConditionalFormattingOption
impl RefUnwindSafe for GaugeChartConditionalFormattingOption
impl Send for GaugeChartConditionalFormattingOption
impl Sync for GaugeChartConditionalFormattingOption
impl Unpin for GaugeChartConditionalFormattingOption
impl UnwindSafe for GaugeChartConditionalFormattingOption
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.