Enum ListFormatPartType

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

Part type for Intl.ListFormat.formatToParts().

Variants

Element = 0u32
Literal = 1u32

Implementations

impl ListFormatPartType

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

Trait Implementations

impl Clone for ListFormatPartType

fn clone(&self) -> Self

impl Copy for ListFormatPartType

impl Debug for ListFormatPartType

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

impl Eq for ListFormatPartType

impl FromWasmAbi for ListFormatPartType

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

impl IntoWasmAbi for ListFormatPartType

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

impl OptionFromWasmAbi for ListFormatPartType

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for ListFormatPartType

fn none() -> Self::Abi

impl PartialEq for ListFormatPartType

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

impl StructuralPartialEq for ListFormatPartType

impl WasmDescribe for ListFormatPartType

fn describe()

Auto Trait Implementations

impl Freeze for ListFormatPartType

impl RefUnwindSafe for ListFormatPartType

impl Send for ListFormatPartType

impl Sync for ListFormatPartType

impl Unpin for ListFormatPartType

impl UnsafeUnpin for ListFormatPartType

impl UnwindSafe for ListFormatPartType

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for ListFormatPartType

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

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

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

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

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