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()

Auto Trait Implementations

impl Freeze for NumberFormatPartType

impl RefUnwindSafe for NumberFormatPartType

impl Send for NumberFormatPartType

impl Sync for NumberFormatPartType

impl Unpin for NumberFormatPartType

impl UnsafeUnpin for NumberFormatPartType

impl UnwindSafe for NumberFormatPartType

Blanket Implementations

impl<S, T> Upcast<T> for NumberFormatPartType where T: UpcastFrom<S> + ?Sized, S: ?Sized,

impl<T> Any for NumberFormatPartType where T: 'static + ?Sized,

impl<T> Borrow<T> for NumberFormatPartType where T: ?Sized,

impl<T> BorrowMut<T> for NumberFormatPartType where T: ?Sized,

impl<T> CloneToUninit for NumberFormatPartType where T: Clone,

impl<T> From<T> for NumberFormatPartType

impl<T> ReturnWasmAbi for NumberFormatPartType where T: IntoWasmAbi,

impl<T> ToOwned for NumberFormatPartType where T: Clone,

impl<T, U> Into<U> for NumberFormatPartType where U: From<T>,

impl<T, U> TryFrom<U> for NumberFormatPartType where U: Into<T>,

impl<T, U> TryInto<U> for NumberFormatPartType where U: TryFrom<T>,