pub enum Scale {
Linear,
Log,
Categorical(Vec<String>),
}Expand description
Scale type for an axis.
Variants§
Linear
Linear scale (default).
Log
Logarithmic scale (base 10).
Categorical(Vec<String>)
Categorical scale with string labels.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scale
impl RefUnwindSafe for Scale
impl Send for Scale
impl Sync for Scale
impl Unpin for Scale
impl UnsafeUnpin for Scale
impl UnwindSafe for Scale
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