#[non_exhaustive]pub enum Grouping {
Auto,
Always,
Never,
Min2,
}Expand description
useGrouping. Core output never groups; mf2-fn-number honours it.
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.
Auto
auto (the default): the locale’s grouping, with its minimum
grouping digits.
Always
always: grouping even below the locale’s minimum grouping digits.
Never
never.
Min2
min2: grouping only with at least two digits in the highest group.
Trait Implementations§
impl Copy for Grouping
impl Eq for Grouping
impl StructuralPartialEq for Grouping
Auto Trait Implementations§
impl Freeze for Grouping
impl RefUnwindSafe for Grouping
impl Send for Grouping
impl Sync for Grouping
impl Unpin for Grouping
impl UnsafeUnpin for Grouping
impl UnwindSafe for Grouping
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