#[non_exhaustive]pub struct SmallMultiplesAxisProperties {
pub scale: Option<SmallMultiplesAxisScale>,
pub placement: Option<SmallMultiplesAxisPlacement>,
}
Expand description
Configures the properties of a chart's axes that are used by small multiples panels.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.scale: Option<SmallMultiplesAxisScale>
Determines whether scale of the axes are shared or independent. The default value is SHARED
.
placement: 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.
Implementations§
source§impl SmallMultiplesAxisProperties
impl SmallMultiplesAxisProperties
sourcepub fn scale(&self) -> Option<&SmallMultiplesAxisScale>
pub fn scale(&self) -> Option<&SmallMultiplesAxisScale>
Determines whether scale of the axes are shared or independent. The default value is SHARED
.
sourcepub fn placement(&self) -> Option<&SmallMultiplesAxisPlacement>
pub fn 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.
source§impl SmallMultiplesAxisProperties
impl SmallMultiplesAxisProperties
sourcepub fn builder() -> SmallMultiplesAxisPropertiesBuilder
pub fn builder() -> SmallMultiplesAxisPropertiesBuilder
Creates a new builder-style object to manufacture SmallMultiplesAxisProperties
.
Trait Implementations§
source§impl Clone for SmallMultiplesAxisProperties
impl Clone for SmallMultiplesAxisProperties
source§fn clone(&self) -> SmallMultiplesAxisProperties
fn clone(&self) -> SmallMultiplesAxisProperties
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 SmallMultiplesAxisProperties
impl Debug for SmallMultiplesAxisProperties
source§impl PartialEq for SmallMultiplesAxisProperties
impl PartialEq for SmallMultiplesAxisProperties
source§fn eq(&self, other: &SmallMultiplesAxisProperties) -> bool
fn eq(&self, other: &SmallMultiplesAxisProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SmallMultiplesAxisProperties
Auto Trait Implementations§
impl RefUnwindSafe for SmallMultiplesAxisProperties
impl Send for SmallMultiplesAxisProperties
impl Sync for SmallMultiplesAxisProperties
impl Unpin for SmallMultiplesAxisProperties
impl UnwindSafe for SmallMultiplesAxisProperties
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.