Enum DayPeriodFormat

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

Day period format for Intl.DateTimeFormat.

Variants

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

Implementations

impl DayPeriodFormat

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

Trait Implementations

impl Clone for DayPeriodFormat

fn clone(&self) -> Self

impl Copy for DayPeriodFormat

impl Debug for DayPeriodFormat

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

impl Eq for DayPeriodFormat

impl FromWasmAbi for DayPeriodFormat

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

impl IntoWasmAbi for DayPeriodFormat

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

impl OptionFromWasmAbi for DayPeriodFormat

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for DayPeriodFormat

fn none() -> Self::Abi

impl PartialEq for DayPeriodFormat

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

impl StructuralPartialEq for DayPeriodFormat

impl WasmDescribe for DayPeriodFormat

fn describe()

Auto Trait Implementations

impl Freeze for DayPeriodFormat

impl RefUnwindSafe for DayPeriodFormat

impl Send for DayPeriodFormat

impl Sync for DayPeriodFormat

impl Unpin for DayPeriodFormat

impl UnsafeUnpin for DayPeriodFormat

impl UnwindSafe for DayPeriodFormat

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for DayPeriodFormat

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

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

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

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

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