Enum textplots::LabelFormat
source · pub enum LabelFormat {
None,
Value,
Custom(Box<dyn Fn(f32) -> String>),
}
Expand description
Specifies label format.
Default value is LabelFormat::Value
.
Variants§
None
Label is not displayed.
Value
Label is shown as a value.
Custom(Box<dyn Fn(f32) -> String>)
Label is shown as a custom string.
Auto Trait Implementations§
impl !RefUnwindSafe for LabelFormat
impl !Send for LabelFormat
impl !Sync for LabelFormat
impl Unpin for LabelFormat
impl !UnwindSafe for LabelFormat
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