Enum NumberFormatStyle
#[non_exhaustive]
#[repr(u32)]
pub enum NumberFormatStyle
Style for Intl.NumberFormat.
Variants
-
Decimal = 0u32 -
Currency = 1u32 -
Percent = 2u32 -
Unit = 3u32
Implementations
impl NumberFormatStyle
fn from_js_value(obj: &JsValue) -> Option<NumberFormatStyle>
Trait Implementations
impl Clone for NumberFormatStyle
fn clone(&self) -> Self
impl Copy for NumberFormatStyle
impl Debug for NumberFormatStyle
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for NumberFormatStyle
impl FromWasmAbi for NumberFormatStyle
type Abi = u32;unsafe fn from_abi(val: u32) -> Self
impl IntoWasmAbi for NumberFormatStyle
type Abi = u32;fn into_abi(self) -> u32
impl OptionFromWasmAbi for NumberFormatStyle
fn is_none(val: &u32) -> bool
impl OptionIntoWasmAbi for NumberFormatStyle
fn none() -> Self::Abi
impl PartialEq for NumberFormatStyle
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for NumberFormatStyle
impl WasmDescribe for NumberFormatStyle
fn describe()