Enum DisplayNamesStyle

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

Style for Intl.DisplayNames.

Variants

Long = 0u32
Short = 1u32
Narrow = 2u32

Implementations

impl DisplayNamesStyle

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

Trait Implementations

impl Clone for DisplayNamesStyle

fn clone(&self) -> Self

impl Copy for DisplayNamesStyle

impl Debug for DisplayNamesStyle

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

impl Eq for DisplayNamesStyle

impl FromWasmAbi for DisplayNamesStyle

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

impl IntoWasmAbi for DisplayNamesStyle

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

impl OptionFromWasmAbi for DisplayNamesStyle

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for DisplayNamesStyle

fn none() -> Self::Abi

impl PartialEq for DisplayNamesStyle

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

impl StructuralPartialEq for DisplayNamesStyle

impl WasmDescribe for DisplayNamesStyle

fn describe()

Auto Trait Implementations

impl Freeze for DisplayNamesStyle

impl RefUnwindSafe for DisplayNamesStyle

impl Send for DisplayNamesStyle

impl Sync for DisplayNamesStyle

impl Unpin for DisplayNamesStyle

impl UnsafeUnpin for DisplayNamesStyle

impl UnwindSafe for DisplayNamesStyle

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for DisplayNamesStyle

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

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

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

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

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