Enum RoundingPriority

#[non_exhaustive]
#[repr(u32)]
pub enum RoundingPriority

Rounding priority for Intl.NumberFormat.

Variants

Auto = 0u32
MorePrecision = 1u32
LessPrecision = 2u32

Implementations

impl RoundingPriority

fn from_js_value(obj: &JsValue) -> Option<RoundingPriority>

Trait Implementations

impl Clone for RoundingPriority

fn clone(&self) -> Self

impl Copy for RoundingPriority

impl Debug for RoundingPriority

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for RoundingPriority

impl FromWasmAbi for RoundingPriority

type Abi = u32;
unsafe fn from_abi(val: u32) -> Self

impl IntoWasmAbi for RoundingPriority

type Abi = u32;
fn into_abi(self) -> u32

impl OptionFromWasmAbi for RoundingPriority

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for RoundingPriority

fn none() -> Self::Abi

impl PartialEq for RoundingPriority

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for RoundingPriority

impl WasmDescribe for RoundingPriority

fn describe()

Auto Trait Implementations

impl Freeze for RoundingPriority

impl RefUnwindSafe for RoundingPriority

impl Send for RoundingPriority

impl Sync for RoundingPriority

impl Unpin for RoundingPriority

impl UnsafeUnpin for RoundingPriority

impl UnwindSafe for RoundingPriority

Blanket Implementations

impl<S, T> Upcast<T> for RoundingPriority where T: UpcastFrom<S> + ?Sized, S: ?Sized,

impl<T> Any for RoundingPriority where T: 'static + ?Sized,

impl<T> Borrow<T> for RoundingPriority where T: ?Sized,

impl<T> BorrowMut<T> for RoundingPriority where T: ?Sized,

impl<T> CloneToUninit for RoundingPriority where T: Clone,

impl<T> From<T> for RoundingPriority

impl<T> ReturnWasmAbi for RoundingPriority where T: IntoWasmAbi,

impl<T> ToOwned for RoundingPriority where T: Clone,

impl<T, U> Into<U> for RoundingPriority where U: From<T>,

impl<T, U> TryFrom<U> for RoundingPriority where U: Into<T>,

impl<T, U> TryInto<U> for RoundingPriority where U: TryFrom<T>,