Enum HourCycle

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

Hour cycle for Intl.DateTimeFormat.

Variants

H11 = 0u32
H12 = 1u32
H23 = 2u32
H24 = 3u32

Implementations

impl HourCycle

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

Trait Implementations

impl Clone for HourCycle

fn clone(&self) -> Self

impl Copy for HourCycle

impl Debug for HourCycle

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

impl Eq for HourCycle

impl FromWasmAbi for HourCycle

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

impl IntoWasmAbi for HourCycle

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

impl OptionFromWasmAbi for HourCycle

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for HourCycle

fn none() -> Self::Abi

impl PartialEq for HourCycle

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

impl StructuralPartialEq for HourCycle

impl WasmDescribe for HourCycle

fn describe()

Auto Trait Implementations

impl Freeze for HourCycle

impl RefUnwindSafe for HourCycle

impl Send for HourCycle

impl Sync for HourCycle

impl Unpin for HourCycle

impl UnsafeUnpin for HourCycle

impl UnwindSafe for HourCycle

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for HourCycle

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

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

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

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

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