#[non_exhaustive]pub struct AxisTickLabelOptionsBuilder { /* private fields */ }
Expand description
A builder for AxisTickLabelOptions
.
Implementations§
source§impl AxisTickLabelOptionsBuilder
impl AxisTickLabelOptionsBuilder
sourcepub fn label_options(self, input: LabelOptions) -> Self
pub fn label_options(self, input: LabelOptions) -> Self
Determines whether or not the axis ticks are visible.
sourcepub fn set_label_options(self, input: Option<LabelOptions>) -> Self
pub fn set_label_options(self, input: Option<LabelOptions>) -> Self
Determines whether or not the axis ticks are visible.
sourcepub fn get_label_options(&self) -> &Option<LabelOptions>
pub fn get_label_options(&self) -> &Option<LabelOptions>
Determines whether or not the axis ticks are visible.
sourcepub fn rotation_angle(self, input: f64) -> Self
pub fn rotation_angle(self, input: f64) -> Self
The rotation angle of the axis tick labels.
sourcepub fn set_rotation_angle(self, input: Option<f64>) -> Self
pub fn set_rotation_angle(self, input: Option<f64>) -> Self
The rotation angle of the axis tick labels.
sourcepub fn get_rotation_angle(&self) -> &Option<f64>
pub fn get_rotation_angle(&self) -> &Option<f64>
The rotation angle of the axis tick labels.
sourcepub fn build(self) -> AxisTickLabelOptions
pub fn build(self) -> AxisTickLabelOptions
Consumes the builder and constructs a AxisTickLabelOptions
.
Trait Implementations§
source§impl Clone for AxisTickLabelOptionsBuilder
impl Clone for AxisTickLabelOptionsBuilder
source§fn clone(&self) -> AxisTickLabelOptionsBuilder
fn clone(&self) -> AxisTickLabelOptionsBuilder
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 AxisTickLabelOptionsBuilder
impl Debug for AxisTickLabelOptionsBuilder
source§impl Default for AxisTickLabelOptionsBuilder
impl Default for AxisTickLabelOptionsBuilder
source§fn default() -> AxisTickLabelOptionsBuilder
fn default() -> AxisTickLabelOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AxisTickLabelOptionsBuilder
impl PartialEq for AxisTickLabelOptionsBuilder
source§fn eq(&self, other: &AxisTickLabelOptionsBuilder) -> bool
fn eq(&self, other: &AxisTickLabelOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AxisTickLabelOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AxisTickLabelOptionsBuilder
impl Send for AxisTickLabelOptionsBuilder
impl Sync for AxisTickLabelOptionsBuilder
impl Unpin for AxisTickLabelOptionsBuilder
impl UnwindSafe for AxisTickLabelOptionsBuilder
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.