#[repr(u32)]pub enum UNumberFormatAttribute {
Show 31 variants
UNUM_PARSE_INT_ONLY = 0,
UNUM_GROUPING_USED = 1,
UNUM_DECIMAL_ALWAYS_SHOWN = 2,
UNUM_MAX_INTEGER_DIGITS = 3,
UNUM_MIN_INTEGER_DIGITS = 4,
UNUM_INTEGER_DIGITS = 5,
UNUM_MAX_FRACTION_DIGITS = 6,
UNUM_MIN_FRACTION_DIGITS = 7,
UNUM_FRACTION_DIGITS = 8,
UNUM_MULTIPLIER = 9,
UNUM_GROUPING_SIZE = 10,
UNUM_ROUNDING_MODE = 11,
UNUM_ROUNDING_INCREMENT = 12,
UNUM_FORMAT_WIDTH = 13,
UNUM_PADDING_POSITION = 14,
UNUM_SECONDARY_GROUPING_SIZE = 15,
UNUM_SIGNIFICANT_DIGITS_USED = 16,
UNUM_MIN_SIGNIFICANT_DIGITS = 17,
UNUM_MAX_SIGNIFICANT_DIGITS = 18,
UNUM_LENIENT_PARSE = 19,
UNUM_PARSE_ALL_INPUT = 20,
UNUM_SCALE = 21,
UNUM_MINIMUM_GROUPING_DIGITS = 22,
UNUM_CURRENCY_USAGE = 23,
UNUM_MAX_NONBOOLEAN_ATTRIBUTE = 4_095,
UNUM_FORMAT_FAIL_IF_MORE_THAN_MAX_DIGITS = 4_096,
UNUM_PARSE_NO_EXPONENT = 4_097,
UNUM_PARSE_DECIMAL_MARK_REQUIRED = 4_098,
UNUM_PARSE_CASE_SENSITIVE = 4_099,
UNUM_SIGN_ALWAYS_SHOWN = 4_100,
UNUM_LIMIT_BOOLEAN_ATTRIBUTE = 4_101,
}
Variants§
UNUM_PARSE_INT_ONLY = 0
UNUM_GROUPING_USED = 1
UNUM_DECIMAL_ALWAYS_SHOWN = 2
UNUM_MAX_INTEGER_DIGITS = 3
UNUM_MIN_INTEGER_DIGITS = 4
UNUM_INTEGER_DIGITS = 5
UNUM_MAX_FRACTION_DIGITS = 6
UNUM_MIN_FRACTION_DIGITS = 7
UNUM_FRACTION_DIGITS = 8
UNUM_MULTIPLIER = 9
UNUM_GROUPING_SIZE = 10
UNUM_ROUNDING_MODE = 11
UNUM_ROUNDING_INCREMENT = 12
UNUM_FORMAT_WIDTH = 13
UNUM_PADDING_POSITION = 14
UNUM_SECONDARY_GROUPING_SIZE = 15
UNUM_SIGNIFICANT_DIGITS_USED = 16
UNUM_MIN_SIGNIFICANT_DIGITS = 17
UNUM_MAX_SIGNIFICANT_DIGITS = 18
UNUM_LENIENT_PARSE = 19
UNUM_PARSE_ALL_INPUT = 20
UNUM_SCALE = 21
UNUM_MINIMUM_GROUPING_DIGITS = 22
UNUM_CURRENCY_USAGE = 23
UNUM_MAX_NONBOOLEAN_ATTRIBUTE = 4_095
UNUM_FORMAT_FAIL_IF_MORE_THAN_MAX_DIGITS = 4_096
UNUM_PARSE_NO_EXPONENT = 4_097
UNUM_PARSE_DECIMAL_MARK_REQUIRED = 4_098
UNUM_PARSE_CASE_SENSITIVE = 4_099
UNUM_SIGN_ALWAYS_SHOWN = 4_100
UNUM_LIMIT_BOOLEAN_ATTRIBUTE = 4_101
Trait Implementations§
source§impl Clone for UNumberFormatAttribute
impl Clone for UNumberFormatAttribute
source§fn clone(&self) -> UNumberFormatAttribute
fn clone(&self) -> UNumberFormatAttribute
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 UNumberFormatAttribute
impl Debug for UNumberFormatAttribute
source§impl Hash for UNumberFormatAttribute
impl Hash for UNumberFormatAttribute
source§impl PartialEq for UNumberFormatAttribute
impl PartialEq for UNumberFormatAttribute
source§fn eq(&self, other: &UNumberFormatAttribute) -> bool
fn eq(&self, other: &UNumberFormatAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UNumberFormatAttribute
impl PartialOrd for UNumberFormatAttribute
source§fn partial_cmp(&self, other: &UNumberFormatAttribute) -> Option<Ordering>
fn partial_cmp(&self, other: &UNumberFormatAttribute) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for UNumberFormatAttribute
impl Eq for UNumberFormatAttribute
impl StructuralPartialEq for UNumberFormatAttribute
Auto Trait Implementations§
impl RefUnwindSafe for UNumberFormatAttribute
impl Send for UNumberFormatAttribute
impl Sync for UNumberFormatAttribute
impl Unpin for UNumberFormatAttribute
impl UnwindSafe for UNumberFormatAttribute
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