Enum DateTimeFormatPartType

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

Part type for DateTimeFormat.formatToParts().

Variants

Day = 0u32
DayPeriod = 1u32
Era = 2u32
FractionalSecond = 3u32
Hour = 4u32
Literal = 5u32
Minute = 6u32
Month = 7u32
RelatedYear = 8u32
Second = 9u32
TimeZoneName = 10u32
Weekday = 11u32
Year = 12u32
YearName = 13u32

Implementations

impl DateTimeFormatPartType

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

Trait Implementations

impl Clone for DateTimeFormatPartType

fn clone(&self) -> Self

impl Copy for DateTimeFormatPartType

impl Debug for DateTimeFormatPartType

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

impl Eq for DateTimeFormatPartType

impl FromWasmAbi for DateTimeFormatPartType

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

impl IntoWasmAbi for DateTimeFormatPartType

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

impl OptionFromWasmAbi for DateTimeFormatPartType

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for DateTimeFormatPartType

fn none() -> Self::Abi

impl PartialEq for DateTimeFormatPartType

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

impl StructuralPartialEq for DateTimeFormatPartType

impl WasmDescribe for DateTimeFormatPartType

fn describe()

Auto Trait Implementations

impl Freeze for DateTimeFormatPartType

impl RefUnwindSafe for DateTimeFormatPartType

impl Send for DateTimeFormatPartType

impl Sync for DateTimeFormatPartType

impl Unpin for DateTimeFormatPartType

impl UnsafeUnpin for DateTimeFormatPartType

impl UnwindSafe for DateTimeFormatPartType

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for DateTimeFormatPartType

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

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

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

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

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