Enum embedded_plots::axis::Scale
source · [−]Expand description
Used to describe how densely ticks should be drawn
Variants
Fixed(usize)
Fixed scale means that ticks will be drawn between each increment of absolute distance provided. for example, on range 0..30 and Fixed(10), ticks will be drawn for 0, 10 and 20
RangeFraction(usize)
RangeFraction means that provided number of ticks ticks will be drawn on entire range for example, on range 0..60 and RangeFraction(3), ticks will be drawn for 0, 20 and 40
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Scale
impl Send for Scale
impl Sync for Scale
impl Unpin for Scale
impl UnwindSafe for Scale
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more