#[non_exhaustive]pub struct SmallMultiplesAxisPropertiesBuilder { /* private fields */ }Expand description
A builder for SmallMultiplesAxisProperties.
Implementations§
source§impl SmallMultiplesAxisPropertiesBuilder
impl SmallMultiplesAxisPropertiesBuilder
sourcepub fn scale(self, input: SmallMultiplesAxisScale) -> Self
pub fn scale(self, input: SmallMultiplesAxisScale) -> Self
Determines whether scale of the axes are shared or independent. The default value is SHARED.
sourcepub fn set_scale(self, input: Option<SmallMultiplesAxisScale>) -> Self
pub fn set_scale(self, input: Option<SmallMultiplesAxisScale>) -> Self
Determines whether scale of the axes are shared or independent. The default value is SHARED.
sourcepub fn get_scale(&self) -> &Option<SmallMultiplesAxisScale>
pub fn get_scale(&self) -> &Option<SmallMultiplesAxisScale>
Determines whether scale of the axes are shared or independent. The default value is SHARED.
sourcepub fn placement(self, input: SmallMultiplesAxisPlacement) -> Self
pub fn placement(self, input: SmallMultiplesAxisPlacement) -> Self
Defines the placement of the axis. By default, axes are rendered OUTSIDE of the panels. Axes with INDEPENDENT scale are rendered INSIDE the panels.
sourcepub fn set_placement(self, input: Option<SmallMultiplesAxisPlacement>) -> Self
pub fn set_placement(self, input: Option<SmallMultiplesAxisPlacement>) -> Self
Defines the placement of the axis. By default, axes are rendered OUTSIDE of the panels. Axes with INDEPENDENT scale are rendered INSIDE the panels.
sourcepub fn get_placement(&self) -> &Option<SmallMultiplesAxisPlacement>
pub fn get_placement(&self) -> &Option<SmallMultiplesAxisPlacement>
Defines the placement of the axis. By default, axes are rendered OUTSIDE of the panels. Axes with INDEPENDENT scale are rendered INSIDE the panels.
sourcepub fn build(self) -> SmallMultiplesAxisProperties
pub fn build(self) -> SmallMultiplesAxisProperties
Consumes the builder and constructs a SmallMultiplesAxisProperties.
Trait Implementations§
source§impl Clone for SmallMultiplesAxisPropertiesBuilder
impl Clone for SmallMultiplesAxisPropertiesBuilder
source§fn clone(&self) -> SmallMultiplesAxisPropertiesBuilder
fn clone(&self) -> SmallMultiplesAxisPropertiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SmallMultiplesAxisPropertiesBuilder
impl Default for SmallMultiplesAxisPropertiesBuilder
source§fn default() -> SmallMultiplesAxisPropertiesBuilder
fn default() -> SmallMultiplesAxisPropertiesBuilder
source§impl PartialEq for SmallMultiplesAxisPropertiesBuilder
impl PartialEq for SmallMultiplesAxisPropertiesBuilder
source§fn eq(&self, other: &SmallMultiplesAxisPropertiesBuilder) -> bool
fn eq(&self, other: &SmallMultiplesAxisPropertiesBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SmallMultiplesAxisPropertiesBuilder
Auto Trait Implementations§
impl Freeze for SmallMultiplesAxisPropertiesBuilder
impl RefUnwindSafe for SmallMultiplesAxisPropertiesBuilder
impl Send for SmallMultiplesAxisPropertiesBuilder
impl Sync for SmallMultiplesAxisPropertiesBuilder
impl Unpin for SmallMultiplesAxisPropertiesBuilder
impl UnwindSafe for SmallMultiplesAxisPropertiesBuilder
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
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>
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>
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 more