#[non_exhaustive]pub struct AxisDisplayMinMaxRangeBuilder { /* private fields */ }Expand description
A builder for AxisDisplayMinMaxRange.
Implementations§
source§impl AxisDisplayMinMaxRangeBuilder
impl AxisDisplayMinMaxRangeBuilder
sourcepub fn set_minimum(self, input: Option<f64>) -> Self
pub fn set_minimum(self, input: Option<f64>) -> Self
The minimum setup for an axis display range.
sourcepub fn get_minimum(&self) -> &Option<f64>
pub fn get_minimum(&self) -> &Option<f64>
The minimum setup for an axis display range.
sourcepub fn set_maximum(self, input: Option<f64>) -> Self
pub fn set_maximum(self, input: Option<f64>) -> Self
The maximum setup for an axis display range.
sourcepub fn get_maximum(&self) -> &Option<f64>
pub fn get_maximum(&self) -> &Option<f64>
The maximum setup for an axis display range.
sourcepub fn build(self) -> AxisDisplayMinMaxRange
pub fn build(self) -> AxisDisplayMinMaxRange
Consumes the builder and constructs a AxisDisplayMinMaxRange.
Trait Implementations§
source§impl Clone for AxisDisplayMinMaxRangeBuilder
impl Clone for AxisDisplayMinMaxRangeBuilder
source§fn clone(&self) -> AxisDisplayMinMaxRangeBuilder
fn clone(&self) -> AxisDisplayMinMaxRangeBuilder
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 Default for AxisDisplayMinMaxRangeBuilder
impl Default for AxisDisplayMinMaxRangeBuilder
source§fn default() -> AxisDisplayMinMaxRangeBuilder
fn default() -> AxisDisplayMinMaxRangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AxisDisplayMinMaxRangeBuilder
impl PartialEq for AxisDisplayMinMaxRangeBuilder
source§fn eq(&self, other: &AxisDisplayMinMaxRangeBuilder) -> bool
fn eq(&self, other: &AxisDisplayMinMaxRangeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AxisDisplayMinMaxRangeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AxisDisplayMinMaxRangeBuilder
impl Send for AxisDisplayMinMaxRangeBuilder
impl Sync for AxisDisplayMinMaxRangeBuilder
impl Unpin for AxisDisplayMinMaxRangeBuilder
impl UnwindSafe for AxisDisplayMinMaxRangeBuilder
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.