Enum PluralRulesType

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

Type for Intl.PluralRules (cardinal or ordinal).

Variants

Cardinal = 0u32
Ordinal = 1u32

Implementations

impl PluralRulesType

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

Trait Implementations

impl Clone for PluralRulesType

fn clone(&self) -> Self

impl Copy for PluralRulesType

impl Debug for PluralRulesType

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

impl Eq for PluralRulesType

impl FromWasmAbi for PluralRulesType

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

impl IntoWasmAbi for PluralRulesType

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

impl OptionFromWasmAbi for PluralRulesType

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for PluralRulesType

fn none() -> Self::Abi

impl PartialEq for PluralRulesType

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

impl StructuralPartialEq for PluralRulesType

impl WasmDescribe for PluralRulesType

fn describe()

Auto Trait Implementations

impl Freeze for PluralRulesType

impl RefUnwindSafe for PluralRulesType

impl Send for PluralRulesType

impl Sync for PluralRulesType

impl Unpin for PluralRulesType

impl UnsafeUnpin for PluralRulesType

impl UnwindSafe for PluralRulesType

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for PluralRulesType

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

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

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

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

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