Enum MonthFormat

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

Month format for Intl.DateTimeFormat.

Variants

Numeric = 0u32
TwoDigit = 1u32
Narrow = 2u32
Short = 3u32
Long = 4u32

Implementations

impl MonthFormat

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

Trait Implementations

impl Clone for MonthFormat

fn clone(&self) -> Self

impl Copy for MonthFormat

impl Debug for MonthFormat

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

impl Eq for MonthFormat

impl FromWasmAbi for MonthFormat

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

impl IntoWasmAbi for MonthFormat

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

impl OptionFromWasmAbi for MonthFormat

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for MonthFormat

fn none() -> Self::Abi

impl PartialEq for MonthFormat

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

impl StructuralPartialEq for MonthFormat

impl WasmDescribe for MonthFormat

fn describe()

Auto Trait Implementations

impl Freeze for MonthFormat

impl RefUnwindSafe for MonthFormat

impl Send for MonthFormat

impl Sync for MonthFormat

impl Unpin for MonthFormat

impl UnsafeUnpin for MonthFormat

impl UnwindSafe for MonthFormat

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for MonthFormat

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

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

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

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

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