Struct ResolvedDisplayNamesOptions

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

Resolved options returned by Intl.DisplayNames.prototype.resolvedOptions().

MDN documentation

Implementations

impl ResolvedDisplayNamesOptions

fn get_locale(&self) -> JsString

The resolved locale string.

Trait Implementations

impl AsRef<DisplayNamesOptions> for ResolvedDisplayNamesOptions

fn as_ref(&self) -> &DisplayNamesOptions

impl AsRef<JsValue> for ResolvedDisplayNamesOptions

fn as_ref(&self) -> &JsValue

impl AsRef<ResolvedDisplayNamesOptions> for ResolvedDisplayNamesOptions

fn as_ref(&self) -> &ResolvedDisplayNamesOptions

impl Clone for ResolvedDisplayNamesOptions

fn clone(&self) -> Self

impl Debug for ResolvedDisplayNamesOptions

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

impl Deref for ResolvedDisplayNamesOptions

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

impl ErasableGeneric for ResolvedDisplayNamesOptions

type Repr = JsValue;

impl From<JsValue> for ResolvedDisplayNamesOptions

fn from(obj: JsValue) -> Self

impl FromWasmAbi for ResolvedDisplayNamesOptions

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

impl IntoJsGeneric for ResolvedDisplayNamesOptions where ResolvedDisplayNamesOptions: JsGeneric,

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

impl IntoWasmAbi for ResolvedDisplayNamesOptions

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

impl JsCast for ResolvedDisplayNamesOptions

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

impl LongRefFromWasmAbi for ResolvedDisplayNamesOptions

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

impl OptionFromWasmAbi for ResolvedDisplayNamesOptions

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

impl OptionIntoWasmAbi for ResolvedDisplayNamesOptions

fn none() -> Self::Abi

impl Promising for ResolvedDisplayNamesOptions

type Resolution = ResolvedDisplayNamesOptions;

impl RefFromWasmAbi for ResolvedDisplayNamesOptions

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

impl UpcastFrom<ResolvedDisplayNamesOptions> for ResolvedDisplayNamesOptions

impl WasmDescribe for ResolvedDisplayNamesOptions

fn describe()

Auto Trait Implementations

impl Freeze for ResolvedDisplayNamesOptions

impl RefUnwindSafe for ResolvedDisplayNamesOptions

impl Send for ResolvedDisplayNamesOptions

impl Sync for ResolvedDisplayNamesOptions

impl Unpin for ResolvedDisplayNamesOptions

impl UnsafeUnpin for ResolvedDisplayNamesOptions

impl UnwindSafe for ResolvedDisplayNamesOptions

Blanket Implementations

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

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

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

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

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

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

impl<T> From<T> for ResolvedDisplayNamesOptions

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

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

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

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

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

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

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

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

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

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