Enum EraFormat

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

Era format for Intl.DateTimeFormat.

Variants

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

Implementations

impl EraFormat

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

Trait Implementations

impl Clone for EraFormat

fn clone(&self) -> Self

impl Copy for EraFormat

impl Debug for EraFormat

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

impl Eq for EraFormat

impl FromWasmAbi for EraFormat

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

impl IntoWasmAbi for EraFormat

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

impl OptionFromWasmAbi for EraFormat

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for EraFormat

fn none() -> Self::Abi

impl PartialEq for EraFormat

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

impl StructuralPartialEq for EraFormat

impl WasmDescribe for EraFormat

fn describe()

Auto Trait Implementations

impl Freeze for EraFormat

impl RefUnwindSafe for EraFormat

impl Send for EraFormat

impl Sync for EraFormat

impl Unpin for EraFormat

impl UnsafeUnpin for EraFormat

impl UnwindSafe for EraFormat

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for EraFormat

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

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

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

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

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