pub struct NumericFormat {
pub positive_sign: String,
pub negative_sign: String,
pub decimal_separator: String,
pub thousands_separator: String,
pub grouping: Vec<usize>,
}Expand description
Numeric formatting settings.
Fields§
§positive_sign: StringThe symbol to use for positive values.
negative_sign: StringThe symbol to use for negative values.
decimal_separator: StringThe radix character.
thousands_separator: StringThe separator between groups.
grouping: Vec<usize>The grouping rules.
Trait Implementations§
Source§impl Clone for NumericFormat
impl Clone for NumericFormat
Source§fn clone(&self) -> NumericFormat
fn clone(&self) -> NumericFormat
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 moreAuto Trait Implementations§
impl Freeze for NumericFormat
impl RefUnwindSafe for NumericFormat
impl Send for NumericFormat
impl Sync for NumericFormat
impl Unpin for NumericFormat
impl UnwindSafe for NumericFormat
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