#[non_exhaustive]pub enum AxisKind {
Number,
Time,
}Expand description
What an axis’s values are, which decides where its ticks go and how they read.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Number
Plain numbers: ticks at 1, 2 or 5 times a power of ten.
Time
Seconds since 1970-01-01 UTC: ticks at whole seconds, minutes, hours or days, labelled as times of day or dates (in UTC; there is no time-zone database).
Trait Implementations§
impl Copy for AxisKind
impl Eq for AxisKind
impl StructuralPartialEq for AxisKind
Auto Trait Implementations§
impl Freeze for AxisKind
impl RefUnwindSafe for AxisKind
impl Send for AxisKind
impl Sync for AxisKind
impl Unpin for AxisKind
impl UnsafeUnpin for AxisKind
impl UnwindSafe for AxisKind
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