Enum TrailingZeroDisplay

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

Trailing zero display for Intl.NumberFormat.

Variants

Auto = 0u32
StripIfInteger = 1u32

Implementations

impl TrailingZeroDisplay

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

Trait Implementations

impl Clone for TrailingZeroDisplay

fn clone(&self) -> Self

impl Copy for TrailingZeroDisplay

impl Debug for TrailingZeroDisplay

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

impl Eq for TrailingZeroDisplay

impl FromWasmAbi for TrailingZeroDisplay

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

impl IntoWasmAbi for TrailingZeroDisplay

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

impl OptionFromWasmAbi for TrailingZeroDisplay

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for TrailingZeroDisplay

fn none() -> Self::Abi

impl PartialEq for TrailingZeroDisplay

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

impl StructuralPartialEq for TrailingZeroDisplay

impl WasmDescribe for TrailingZeroDisplay

fn describe()

Auto Trait Implementations

impl Freeze for TrailingZeroDisplay

impl RefUnwindSafe for TrailingZeroDisplay

impl Send for TrailingZeroDisplay

impl Sync for TrailingZeroDisplay

impl Unpin for TrailingZeroDisplay

impl UnsafeUnpin for TrailingZeroDisplay

impl UnwindSafe for TrailingZeroDisplay

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for TrailingZeroDisplay

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

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

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

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

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