Enum CurrencyDisplay

#[non_exhaustive]
#[repr(u32)]
pub enum CurrencyDisplay

Currency display for Intl.NumberFormat.

Variants

Code = 0u32
Symbol = 1u32
NarrowSymbol = 2u32
Name = 3u32

Implementations

impl CurrencyDisplay

fn from_js_value(obj: &JsValue) -> Option<CurrencyDisplay>

Trait Implementations

impl Clone for CurrencyDisplay

fn clone(&self) -> Self

impl Copy for CurrencyDisplay

impl Debug for CurrencyDisplay

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for CurrencyDisplay

impl FromWasmAbi for CurrencyDisplay

type Abi = u32;
unsafe fn from_abi(val: u32) -> Self

impl IntoWasmAbi for CurrencyDisplay

type Abi = u32;
fn into_abi(self) -> u32

impl OptionFromWasmAbi for CurrencyDisplay

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for CurrencyDisplay

fn none() -> Self::Abi

impl PartialEq for CurrencyDisplay

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for CurrencyDisplay

impl WasmDescribe for CurrencyDisplay

fn describe()

Auto Trait Implementations

impl Freeze for CurrencyDisplay

impl RefUnwindSafe for CurrencyDisplay

impl Send for CurrencyDisplay

impl Sync for CurrencyDisplay

impl Unpin for CurrencyDisplay

impl UnsafeUnpin for CurrencyDisplay

impl UnwindSafe for CurrencyDisplay

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for CurrencyDisplay

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

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

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

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

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