Enum NumericFormat

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

Hour/minute/second format for Intl.DateTimeFormat.

Variants

Numeric = 0u32
TwoDigit = 1u32

Implementations

impl NumericFormat

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

Trait Implementations

impl Clone for NumericFormat

fn clone(&self) -> Self

impl Copy for NumericFormat

impl Debug for NumericFormat

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

impl Eq for NumericFormat

impl FromWasmAbi for NumericFormat

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

impl IntoWasmAbi for NumericFormat

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

impl OptionFromWasmAbi for NumericFormat

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for NumericFormat

fn none() -> Self::Abi

impl PartialEq for NumericFormat

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

impl StructuralPartialEq for NumericFormat

impl WasmDescribe for NumericFormat

fn describe()

Auto Trait Implementations

impl Freeze for NumericFormat

impl RefUnwindSafe for NumericFormat

impl Send for NumericFormat

impl Sync for NumericFormat

impl Unpin for NumericFormat

impl UnsafeUnpin for NumericFormat

impl UnwindSafe for NumericFormat

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for NumericFormat

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

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

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

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

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