Enum RelativeTimeFormatPartType
#[non_exhaustive]
#[repr(u32)]
pub enum RelativeTimeFormatPartType
Part type for RelativeTimeFormat.formatToParts().
Variants
-
Literal = 0u32 -
Integer = 1u32 -
Decimal = 2u32 -
Fraction = 3u32
Implementations
impl RelativeTimeFormatPartType
fn from_js_value(obj: &JsValue) -> Option<RelativeTimeFormatPartType>
Trait Implementations
impl Clone for RelativeTimeFormatPartType
fn clone(&self) -> Self
impl Copy for RelativeTimeFormatPartType
impl Debug for RelativeTimeFormatPartType
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for RelativeTimeFormatPartType
impl FromWasmAbi for RelativeTimeFormatPartType
type Abi = u32;unsafe fn from_abi(val: u32) -> Self
impl IntoWasmAbi for RelativeTimeFormatPartType
type Abi = u32;fn into_abi(self) -> u32
impl OptionFromWasmAbi for RelativeTimeFormatPartType
fn is_none(val: &u32) -> bool
impl OptionIntoWasmAbi for RelativeTimeFormatPartType
fn none() -> Self::Abi
impl PartialEq for RelativeTimeFormatPartType
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for RelativeTimeFormatPartType
impl WasmDescribe for RelativeTimeFormatPartType
fn describe()