#[non_exhaustive]pub enum DecimalSeparatorStyle {
Dot,
Comma,
}Expand description
This controls decimal and thousands separators.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Dot
Use . as the decimal separator and , as the thousands separator. This is common in English.
Comma
Use , as the decimal separator and . as the thousands separator. This is common in European languages.
Trait Implementations§
Source§impl Clone for DecimalSeparatorStyle
impl Clone for DecimalSeparatorStyle
Source§fn clone(&self) -> DecimalSeparatorStyle
fn clone(&self) -> DecimalSeparatorStyle
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 DecimalSeparatorStyle
impl Debug for DecimalSeparatorStyle
Source§impl Default for DecimalSeparatorStyle
impl Default for DecimalSeparatorStyle
Source§fn default() -> DecimalSeparatorStyle
fn default() -> DecimalSeparatorStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for DecimalSeparatorStyle
impl PartialEq for DecimalSeparatorStyle
impl Copy for DecimalSeparatorStyle
impl Eq for DecimalSeparatorStyle
impl StructuralPartialEq for DecimalSeparatorStyle
Auto Trait Implementations§
impl Freeze for DecimalSeparatorStyle
impl RefUnwindSafe for DecimalSeparatorStyle
impl Send for DecimalSeparatorStyle
impl Sync for DecimalSeparatorStyle
impl Unpin for DecimalSeparatorStyle
impl UnwindSafe for DecimalSeparatorStyle
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