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()