Enum YearFormat

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

Year format for Intl.DateTimeFormat.

Variants

Numeric = 0u32
TwoDigit = 1u32

Implementations

impl YearFormat

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

Trait Implementations

impl Clone for YearFormat

fn clone(&self) -> Self

impl Copy for YearFormat

impl Debug for YearFormat

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

impl Eq for YearFormat

impl FromWasmAbi for YearFormat

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

impl IntoWasmAbi for YearFormat

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

impl OptionFromWasmAbi for YearFormat

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for YearFormat

fn none() -> Self::Abi

impl PartialEq for YearFormat

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

impl StructuralPartialEq for YearFormat

impl WasmDescribe for YearFormat

fn describe()

Auto Trait Implementations

impl Freeze for YearFormat

impl RefUnwindSafe for YearFormat

impl Send for YearFormat

impl Sync for YearFormat

impl Unpin for YearFormat

impl UnsafeUnpin for YearFormat

impl UnwindSafe for YearFormat

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for YearFormat

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

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

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

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

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