Struct LocaleMatcherOptions

#[repr(transparent)]
pub struct LocaleMatcherOptions { /* private fields */ }

Options for supportedLocalesOf methods.

Implementations

impl LocaleMatcherOptions

fn get_locale_matcher(&self) -> Option<LocaleMatcher>

impl LocaleMatcherOptions

fn set_locale_matcher(&self, value: LocaleMatcher)

impl LocaleMatcherOptions

fn new() -> LocaleMatcherOptions

Trait Implementations

impl AsRef<JsValue> for LocaleMatcherOptions

fn as_ref(&self) -> &JsValue

impl AsRef<LocaleMatcherOptions> for LocaleMatcherOptions

fn as_ref(&self) -> &LocaleMatcherOptions

impl AsRef<Object> for LocaleMatcherOptions

fn as_ref(&self) -> &Object

impl Clone for LocaleMatcherOptions

fn clone(&self) -> Self

impl Debug for LocaleMatcherOptions

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

impl Default for LocaleMatcherOptions

fn default() -> Self

impl Deref for LocaleMatcherOptions

type Target = Object;
fn deref(&self) -> &Object

impl ErasableGeneric for LocaleMatcherOptions

type Repr = JsValue;

impl From<JsValue> for LocaleMatcherOptions

fn from(obj: JsValue) -> Self

impl FromWasmAbi for LocaleMatcherOptions

type Abi = <JsValue as FromWasmAbi>::Abi;
unsafe fn from_abi(js: Self::Abi) -> Self

impl IntoJsGeneric for LocaleMatcherOptions where LocaleMatcherOptions: JsGeneric,

type JsCanon = LocaleMatcherOptions;
fn to_js(self) -> LocaleMatcherOptions

impl IntoWasmAbi for LocaleMatcherOptions

type Abi = <JsValue as IntoWasmAbi>::Abi;
fn into_abi(self) -> Self::Abi

impl JsCast for LocaleMatcherOptions

fn instanceof(val: &JsValue) -> bool
fn unchecked_from_js(val: JsValue) -> Self
fn unchecked_from_js_ref(val: &JsValue) -> &Self

impl LongRefFromWasmAbi for LocaleMatcherOptions

type Abi = <JsValue as LongRefFromWasmAbi>::Abi;
type Anchor = LocaleMatcherOptions;
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor

impl OptionFromWasmAbi for LocaleMatcherOptions

fn is_none(abi: &Self::Abi) -> bool

impl OptionIntoWasmAbi for LocaleMatcherOptions

fn none() -> Self::Abi

impl Promising for LocaleMatcherOptions

type Resolution = LocaleMatcherOptions;

impl RefFromWasmAbi for LocaleMatcherOptions

type Abi = <JsValue as RefFromWasmAbi>::Abi;
type Anchor = ManuallyDrop<LocaleMatcherOptions>;
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor

impl UpcastFrom<LocaleMatcherOptions> for LocaleMatcherOptions

impl WasmDescribe for LocaleMatcherOptions

fn describe()

Auto Trait Implementations

impl Freeze for LocaleMatcherOptions

impl RefUnwindSafe for LocaleMatcherOptions

impl Send for LocaleMatcherOptions

impl Sync for LocaleMatcherOptions

impl Unpin for LocaleMatcherOptions

impl UnsafeUnpin for LocaleMatcherOptions

impl UnwindSafe for LocaleMatcherOptions

Blanket Implementations

impl<P, T> Receiver for LocaleMatcherOptions where P: Deref<Target = T> + ?Sized, T: ?Sized,

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

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

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

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

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

impl<T> From<T> for LocaleMatcherOptions

impl<T> JsGeneric for LocaleMatcherOptions where T: ErasableGeneric<Repr = JsValue> + UpcastFrom<T> + Upcast<JsValue> + JsCast + 'static,

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

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

impl<T> TryFromJsValue for LocaleMatcherOptions where T: JsCast,

impl<T> VectorFromWasmAbi for LocaleMatcherOptions where T: ErasableGeneric<Repr = JsValue> + WasmDescribe,

impl<T> VectorIntoWasmAbi for LocaleMatcherOptions where T: ErasableGeneric<Repr = JsValue> + WasmDescribe,

impl<T> VectorRefIntoWasmAbi for LocaleMatcherOptions where &'a T: for<'a> Into<JsValue>,

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

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

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