Enum DisplayNamesType

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

Type for Intl.DisplayNames.

Variants

Language = 0u32
Region = 1u32
Script = 2u32
Currency = 3u32
Calendar = 4u32
DateTimeField = 5u32

Implementations

impl DisplayNamesType

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

Trait Implementations

impl Clone for DisplayNamesType

fn clone(&self) -> Self

impl Copy for DisplayNamesType

impl Debug for DisplayNamesType

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

impl Eq for DisplayNamesType

impl FromWasmAbi for DisplayNamesType

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

impl IntoWasmAbi for DisplayNamesType

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

impl OptionFromWasmAbi for DisplayNamesType

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for DisplayNamesType

fn none() -> Self::Abi

impl PartialEq for DisplayNamesType

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

impl StructuralPartialEq for DisplayNamesType

impl WasmDescribe for DisplayNamesType

fn describe()

Auto Trait Implementations

impl Freeze for DisplayNamesType

impl RefUnwindSafe for DisplayNamesType

impl Send for DisplayNamesType

impl Sync for DisplayNamesType

impl Unpin for DisplayNamesType

impl UnsafeUnpin for DisplayNamesType

impl UnwindSafe for DisplayNamesType

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for DisplayNamesType

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

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

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

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

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