#[repr(u32)]pub enum UNumberFormatStyle {
Show 18 variants
UNUM_PATTERN_DECIMAL = 0,
UNUM_DECIMAL = 1,
UNUM_CURRENCY = 2,
UNUM_PERCENT = 3,
UNUM_SCIENTIFIC = 4,
UNUM_SPELLOUT = 5,
UNUM_ORDINAL = 6,
UNUM_DURATION = 7,
UNUM_NUMBERING_SYSTEM = 8,
UNUM_PATTERN_RULEBASED = 9,
UNUM_CURRENCY_ISO = 10,
UNUM_CURRENCY_PLURAL = 11,
UNUM_CURRENCY_ACCOUNTING = 12,
UNUM_CASH_CURRENCY = 13,
UNUM_DECIMAL_COMPACT_SHORT = 14,
UNUM_DECIMAL_COMPACT_LONG = 15,
UNUM_CURRENCY_STANDARD = 16,
UNUM_FORMAT_STYLE_COUNT = 17,
}
Variants§
UNUM_PATTERN_DECIMAL = 0
UNUM_DECIMAL = 1
UNUM_CURRENCY = 2
UNUM_PERCENT = 3
UNUM_SCIENTIFIC = 4
UNUM_SPELLOUT = 5
UNUM_ORDINAL = 6
UNUM_DURATION = 7
UNUM_NUMBERING_SYSTEM = 8
UNUM_PATTERN_RULEBASED = 9
UNUM_CURRENCY_ISO = 10
UNUM_CURRENCY_PLURAL = 11
UNUM_CURRENCY_ACCOUNTING = 12
UNUM_CASH_CURRENCY = 13
UNUM_DECIMAL_COMPACT_SHORT = 14
UNUM_DECIMAL_COMPACT_LONG = 15
UNUM_CURRENCY_STANDARD = 16
UNUM_FORMAT_STYLE_COUNT = 17
Implementations§
Source§impl UNumberFormatStyle
impl UNumberFormatStyle
pub const UNUM_DEFAULT: UNumberFormatStyle = UNumberFormatStyle::UNUM_DECIMAL
Source§impl UNumberFormatStyle
impl UNumberFormatStyle
pub const UNUM_IGNORE: UNumberFormatStyle = UNumberFormatStyle::UNUM_PATTERN_DECIMAL
Trait Implementations§
Source§impl Clone for UNumberFormatStyle
impl Clone for UNumberFormatStyle
Source§fn clone(&self) -> UNumberFormatStyle
fn clone(&self) -> UNumberFormatStyle
Returns a copy 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 UNumberFormatStyle
impl Debug for UNumberFormatStyle
Source§impl Hash for UNumberFormatStyle
impl Hash for UNumberFormatStyle
Source§impl PartialEq for UNumberFormatStyle
impl PartialEq for UNumberFormatStyle
Source§impl PartialOrd for UNumberFormatStyle
impl PartialOrd for UNumberFormatStyle
impl Copy for UNumberFormatStyle
impl Eq for UNumberFormatStyle
impl StructuralPartialEq for UNumberFormatStyle
Auto Trait Implementations§
impl Freeze for UNumberFormatStyle
impl RefUnwindSafe for UNumberFormatStyle
impl Send for UNumberFormatStyle
impl Sync for UNumberFormatStyle
impl Unpin for UNumberFormatStyle
impl UnwindSafe for UNumberFormatStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)