pub enum ValueFormatter {
Number {
decimals: u8,
prefix: String,
suffix: String,
},
Compact {
decimals: u8,
prefix: String,
suffix: String,
},
Percent {
decimals: u8,
},
}Variants§
Trait Implementations§
Source§impl Clone for ValueFormatter
impl Clone for ValueFormatter
Source§fn clone(&self) -> ValueFormatter
fn clone(&self) -> ValueFormatter
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ValueFormatter
impl Debug for ValueFormatter
Source§impl PartialEq for ValueFormatter
impl PartialEq for ValueFormatter
impl StructuralPartialEq for ValueFormatter
Auto Trait Implementations§
impl Freeze for ValueFormatter
impl RefUnwindSafe for ValueFormatter
impl Send for ValueFormatter
impl Sync for ValueFormatter
impl Unpin for ValueFormatter
impl UnsafeUnpin for ValueFormatter
impl UnwindSafe for ValueFormatter
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