#[non_exhaustive]pub struct NumericAxisOptionsBuilder { /* private fields */ }Expand description
A builder for NumericAxisOptions.
Implementations§
source§impl NumericAxisOptionsBuilder
impl NumericAxisOptionsBuilder
sourcepub fn range(self, input: AxisDisplayRange) -> Self
pub fn range(self, input: AxisDisplayRange) -> Self
The range setup of a numeric axis.
sourcepub fn set_range(self, input: Option<AxisDisplayRange>) -> Self
pub fn set_range(self, input: Option<AxisDisplayRange>) -> Self
The range setup of a numeric axis.
sourcepub fn build(self) -> NumericAxisOptions
pub fn build(self) -> NumericAxisOptions
Consumes the builder and constructs a NumericAxisOptions.
Trait Implementations§
source§impl Clone for NumericAxisOptionsBuilder
impl Clone for NumericAxisOptionsBuilder
source§fn clone(&self) -> NumericAxisOptionsBuilder
fn clone(&self) -> NumericAxisOptionsBuilder
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 NumericAxisOptionsBuilder
impl Debug for NumericAxisOptionsBuilder
source§impl Default for NumericAxisOptionsBuilder
impl Default for NumericAxisOptionsBuilder
source§fn default() -> NumericAxisOptionsBuilder
fn default() -> NumericAxisOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<NumericAxisOptionsBuilder> for NumericAxisOptionsBuilder
impl PartialEq<NumericAxisOptionsBuilder> for NumericAxisOptionsBuilder
source§fn eq(&self, other: &NumericAxisOptionsBuilder) -> bool
fn eq(&self, other: &NumericAxisOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.