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