Enum RoundingMode
#[non_exhaustive]
#[repr(u32)]
pub enum RoundingMode
Rounding mode for Intl.NumberFormat.
Variants
-
Ceil = 0u32 -
Floor = 1u32 -
Expand = 2u32 -
Trunc = 3u32 -
HalfCeil = 4u32 -
HalfFloor = 5u32 -
HalfExpand = 6u32 -
HalfTrunc = 7u32 -
HalfEven = 8u32
Implementations
impl RoundingMode
fn from_js_value(obj: &JsValue) -> Option<RoundingMode>
Trait Implementations
impl Clone for RoundingMode
fn clone(&self) -> Self
impl Copy for RoundingMode
impl Debug for RoundingMode
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for RoundingMode
impl FromWasmAbi for RoundingMode
type Abi = u32;unsafe fn from_abi(val: u32) -> Self
impl IntoWasmAbi for RoundingMode
type Abi = u32;fn into_abi(self) -> u32
impl OptionFromWasmAbi for RoundingMode
fn is_none(val: &u32) -> bool
impl OptionIntoWasmAbi for RoundingMode
fn none() -> Self::Abi
impl PartialEq for RoundingMode
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for RoundingMode
impl WasmDescribe for RoundingMode
fn describe()