Enum RelativeTimeFormatPartType

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

Part type for RelativeTimeFormat.formatToParts().

Variants

Literal = 0u32
Integer = 1u32
Decimal = 2u32
Fraction = 3u32

Implementations

impl RelativeTimeFormatPartType

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

Trait Implementations

impl Clone for RelativeTimeFormatPartType

fn clone(&self) -> Self

impl Copy for RelativeTimeFormatPartType

impl Debug for RelativeTimeFormatPartType

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

impl Eq for RelativeTimeFormatPartType

impl FromWasmAbi for RelativeTimeFormatPartType

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

impl IntoWasmAbi for RelativeTimeFormatPartType

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

impl OptionFromWasmAbi for RelativeTimeFormatPartType

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for RelativeTimeFormatPartType

fn none() -> Self::Abi

impl PartialEq for RelativeTimeFormatPartType

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

impl StructuralPartialEq for RelativeTimeFormatPartType

impl WasmDescribe for RelativeTimeFormatPartType

fn describe()

Auto Trait Implementations

impl Freeze for RelativeTimeFormatPartType

impl RefUnwindSafe for RelativeTimeFormatPartType

impl Send for RelativeTimeFormatPartType

impl Sync for RelativeTimeFormatPartType

impl Unpin for RelativeTimeFormatPartType

impl UnsafeUnpin for RelativeTimeFormatPartType

impl UnwindSafe for RelativeTimeFormatPartType

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for RelativeTimeFormatPartType

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

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

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

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

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