#[non_exhaustive]pub enum Minor {
Auto,
Off,
Divisions(u8),
}Expand description
How many minor ticks sit between two major ticks.
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.
Auto
Chosen from the space between majors (5, 2, or none); 2…9 per decade on log axes.
Off
No minor ticks.
Divisions(u8)
This many subdivisions per major interval (2 = one minor tick in the middle).
Trait Implementations§
impl Copy for Minor
Source§impl<'de> Deserialize<'de> for Minor
impl<'de> Deserialize<'de> for Minor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Minor
impl StructuralPartialEq for Minor
Auto Trait Implementations§
impl Forget for Minor
impl Freeze for Minor
impl Move for Minor
impl RefUnwindSafe for Minor
impl Send for Minor
impl Sync for Minor
impl Unpin for Minor
impl UnsafeUnpin for Minor
impl UnwindSafe for Minor
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