pub enum LabelFormat {
Decimal,
Scientific,
Power,
Timestamp(TimestampLabelFormat),
}Variants§
Decimal
Plain decimal: 1234.56, 0.003, 1000, 10.
Scientific
ASCII scientific: 1.23e3, 1e-1.
Power
Typographic superscript exponent (RichText): 10³, 1.5×10⁻³, 10⁻¹.
Timestamp(TimestampLabelFormat)
Unix-epoch timestamp labels. Data values stay numeric; this only changes tick planning and label text on linear axes.
Trait Implementations§
Source§impl Clone for LabelFormat
impl Clone for LabelFormat
Source§impl Debug for LabelFormat
impl Debug for LabelFormat
Source§impl<'de> Deserialize<'de> for LabelFormat
impl<'de> Deserialize<'de> for LabelFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LabelFormat
impl PartialEq for LabelFormat
Source§impl Serialize for LabelFormat
impl Serialize for LabelFormat
impl StructuralPartialEq for LabelFormat
Auto Trait Implementations§
impl Freeze for LabelFormat
impl RefUnwindSafe for LabelFormat
impl Send for LabelFormat
impl Sync for LabelFormat
impl Unpin for LabelFormat
impl UnsafeUnpin 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