Enum CollatorUsage

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

Usage for Intl.Collator.

Variants

Sort = 0u32
Search = 1u32

Implementations

impl CollatorUsage

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

Trait Implementations

impl Clone for CollatorUsage

fn clone(&self) -> Self

impl Copy for CollatorUsage

impl Debug for CollatorUsage

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

impl Eq for CollatorUsage

impl FromWasmAbi for CollatorUsage

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

impl IntoWasmAbi for CollatorUsage

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

impl OptionFromWasmAbi for CollatorUsage

fn is_none(val: &u32) -> bool

impl OptionIntoWasmAbi for CollatorUsage

fn none() -> Self::Abi

impl PartialEq for CollatorUsage

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

impl StructuralPartialEq for CollatorUsage

impl WasmDescribe for CollatorUsage

fn describe()

Auto Trait Implementations

impl Freeze for CollatorUsage

impl RefUnwindSafe for CollatorUsage

impl Send for CollatorUsage

impl Sync for CollatorUsage

impl Unpin for CollatorUsage

impl UnsafeUnpin for CollatorUsage

impl UnwindSafe for CollatorUsage

Blanket Implementations

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

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

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

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

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

impl<T> From<T> for CollatorUsage

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

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

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

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

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