pub enum AxisLabelFormat {
Decimal {
precision: usize,
},
Percentage {
precision: usize,
},
Custom(Arc<dyn Fn(f64) -> String + Send + Sync + 'static>),
}Expand description
Generated numeric-label formatting. Custom formatters may return Unicode.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AxisLabelFormat
impl Clone for AxisLabelFormat
Auto Trait Implementations§
impl !RefUnwindSafe for AxisLabelFormat
impl !UnwindSafe for AxisLabelFormat
impl Freeze for AxisLabelFormat
impl Send for AxisLabelFormat
impl Sync for AxisLabelFormat
impl Unpin for AxisLabelFormat
impl UnsafeUnpin for AxisLabelFormat
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