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

Auto Trait Implementations

impl Freeze for NumberFormatStyle

impl RefUnwindSafe for NumberFormatStyle

impl Send for NumberFormatStyle

impl Sync for NumberFormatStyle

impl Unpin for NumberFormatStyle

impl UnsafeUnpin for NumberFormatStyle

impl UnwindSafe for NumberFormatStyle

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for NumberFormatStyle

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

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

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

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

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