pub enum Tick<T, S> {
Major(T, AutoOption<S>),
Minor(T),
}
Expand description
Specifies a type of axis tick
Variants§
Major(T, AutoOption<S>)
Major ticks have position and an optional label. The label may have a single C-style format specifier which will be replaced by the location of the tick
Minor(T)
Minor ticks only have position
Trait Implementations§
Source§impl<T: Ord, S: Ord> Ord for Tick<T, S>
impl<T: Ord, S: Ord> Ord for Tick<T, S>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd, S: PartialOrd> PartialOrd for Tick<T, S>
impl<T: PartialOrd, S: PartialOrd> PartialOrd for Tick<T, S>
impl<T: Eq, S: Eq> Eq for Tick<T, S>
impl<T, S> StructuralPartialEq for Tick<T, S>
Auto Trait Implementations§
impl<T, S> Freeze for Tick<T, S>
impl<T, S> RefUnwindSafe for Tick<T, S>where
T: RefUnwindSafe,
S: RefUnwindSafe,
impl<T, S> Send for Tick<T, S>
impl<T, S> Sync for Tick<T, S>
impl<T, S> Unpin for Tick<T, S>
impl<T, S> UnwindSafe for Tick<T, S>where
T: UnwindSafe,
S: UnwindSafe,
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