Enum NumberFormatPartType
#[non_exhaustive]
#[repr(u32)]
pub enum NumberFormatPartType
Part type for NumberFormat.formatToParts().
Variants
-
Compact = 0u32 -
Currency = 1u32 -
Decimal = 2u32 -
ExponentInteger = 3u32 -
ExponentMinusSign = 4u32 -
ExponentSeparator = 5u32 -
Fraction = 6u32 -
Group = 7u32 -
Infinity = 8u32 -
Integer = 9u32 -
Literal = 10u32 -
MinusSign = 11u32 -
Nan = 12u32 -
PercentSign = 13u32 -
PlusSign = 14u32 -
Unit = 15u32 -
Unknown = 16u32
Implementations
impl NumberFormatPartType
fn from_js_value(obj: &JsValue) -> Option<NumberFormatPartType>
Trait Implementations
impl Clone for NumberFormatPartType
fn clone(&self) -> Self
impl Copy for NumberFormatPartType
impl Debug for NumberFormatPartType
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for NumberFormatPartType
impl FromWasmAbi for NumberFormatPartType
type Abi = u32;unsafe fn from_abi(val: u32) -> Self
impl IntoWasmAbi for NumberFormatPartType
type Abi = u32;fn into_abi(self) -> u32
impl OptionFromWasmAbi for NumberFormatPartType
fn is_none(val: &u32) -> bool
impl OptionIntoWasmAbi for NumberFormatPartType
fn none() -> Self::Abi
impl PartialEq for NumberFormatPartType
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for NumberFormatPartType
impl WasmDescribe for NumberFormatPartType
fn describe()