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