#[non_exhaustive]pub struct SingleAxisOptionsBuilder { /* private fields */ }Expand description
A builder for SingleAxisOptions.
Implementations§
source§impl SingleAxisOptionsBuilder
impl SingleAxisOptionsBuilder
sourcepub fn y_axis_options(self, input: YAxisOptions) -> Self
pub fn y_axis_options(self, input: YAxisOptions) -> Self
The Y axis options of a single axis configuration.
sourcepub fn set_y_axis_options(self, input: Option<YAxisOptions>) -> Self
pub fn set_y_axis_options(self, input: Option<YAxisOptions>) -> Self
The Y axis options of a single axis configuration.
sourcepub fn get_y_axis_options(&self) -> &Option<YAxisOptions>
pub fn get_y_axis_options(&self) -> &Option<YAxisOptions>
The Y axis options of a single axis configuration.
sourcepub fn build(self) -> SingleAxisOptions
pub fn build(self) -> SingleAxisOptions
Consumes the builder and constructs a SingleAxisOptions.
Trait Implementations§
source§impl Clone for SingleAxisOptionsBuilder
impl Clone for SingleAxisOptionsBuilder
source§fn clone(&self) -> SingleAxisOptionsBuilder
fn clone(&self) -> SingleAxisOptionsBuilder
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 SingleAxisOptionsBuilder
impl Debug for SingleAxisOptionsBuilder
source§impl Default for SingleAxisOptionsBuilder
impl Default for SingleAxisOptionsBuilder
source§fn default() -> SingleAxisOptionsBuilder
fn default() -> SingleAxisOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SingleAxisOptionsBuilder
impl PartialEq for SingleAxisOptionsBuilder
source§fn eq(&self, other: &SingleAxisOptionsBuilder) -> bool
fn eq(&self, other: &SingleAxisOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SingleAxisOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SingleAxisOptionsBuilder
impl Send for SingleAxisOptionsBuilder
impl Sync for SingleAxisOptionsBuilder
impl Unpin for SingleAxisOptionsBuilder
impl UnwindSafe for SingleAxisOptionsBuilder
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.