#[repr(u64)]pub enum NSNumberFormatterStyle {
None = 0,
Decimal = 1,
Currency = 2,
Percent = 3,
Scientific = 4,
SpellOut = 5,
OrdinalStyle = 6,
CurrencyIsoCodeStyle = 8,
CurrencyPluralStyle = 9,
CurrencyAccountingStyle = 10,
}
Variants§
None = 0
An integer representation.
Decimal = 1
A decimal style format.
Currency = 2
A currency style format that uses the currency symbol defined by the number formatter locale.
Percent = 3
A percent style format.
Scientific = 4
A scientific style format.
SpellOut = 5
A style format in which numbers are spelled out in the language defined by the number formatter locale.
OrdinalStyle = 6
An ordinal style format.
CurrencyIsoCodeStyle = 8
A currency style format that uses the ISO 4217 currency code defined by the number formatter locale.
CurrencyPluralStyle = 9
A currency style format that uses the pluralized denomination defined by the number formatter locale.
CurrencyAccountingStyle = 10
An accounting currency style format that uses the currency symbol defined by the number formatter locale.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NSNumberFormatterStyle
impl RefUnwindSafe for NSNumberFormatterStyle
impl Send for NSNumberFormatterStyle
impl Sync for NSNumberFormatterStyle
impl Unpin for NSNumberFormatterStyle
impl UnwindSafe for NSNumberFormatterStyle
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