#[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
impl StructuralPartialEq for AxisTickLabelOptionsBuilder
Auto Trait Implementations§
impl Freeze for AxisTickLabelOptionsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.