Enum RelativeTimeFormatStyle

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

Style for Intl.RelativeTimeFormat.

Variants

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

Implementations

impl RelativeTimeFormatStyle

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

Trait Implementations

impl Clone for RelativeTimeFormatStyle

fn clone(&self) -> Self

impl Copy for RelativeTimeFormatStyle

impl Debug for RelativeTimeFormatStyle

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

impl Eq for RelativeTimeFormatStyle

impl FromWasmAbi for RelativeTimeFormatStyle

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

impl IntoWasmAbi for RelativeTimeFormatStyle

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

impl OptionFromWasmAbi for RelativeTimeFormatStyle

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for RelativeTimeFormatStyle

fn none() -> Self::Abi

impl PartialEq for RelativeTimeFormatStyle

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

impl StructuralPartialEq for RelativeTimeFormatStyle

impl WasmDescribe for RelativeTimeFormatStyle

fn describe()

Auto Trait Implementations

impl Freeze for RelativeTimeFormatStyle

impl RefUnwindSafe for RelativeTimeFormatStyle

impl Send for RelativeTimeFormatStyle

impl Sync for RelativeTimeFormatStyle

impl Unpin for RelativeTimeFormatStyle

impl UnsafeUnpin for RelativeTimeFormatStyle

impl UnwindSafe for RelativeTimeFormatStyle

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for RelativeTimeFormatStyle

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

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

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

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

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