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