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