Struct ResolvedNumberFormatOptions

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

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

MDN documentation

Implementations

impl ResolvedNumberFormatOptions

fn get_locale(&self) -> JsString

The resolved locale string.

Trait Implementations

impl AsRef<JsValue> for ResolvedNumberFormatOptions

fn as_ref(&self) -> &JsValue

impl AsRef<NumberFormatOptions> for ResolvedNumberFormatOptions

fn as_ref(&self) -> &NumberFormatOptions

impl AsRef<ResolvedNumberFormatOptions> for ResolvedNumberFormatOptions

fn as_ref(&self) -> &ResolvedNumberFormatOptions

impl Clone for ResolvedNumberFormatOptions

fn clone(&self) -> Self

impl Debug for ResolvedNumberFormatOptions

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

impl Deref for ResolvedNumberFormatOptions

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

impl ErasableGeneric for ResolvedNumberFormatOptions

type Repr = JsValue;

impl From<JsValue> for ResolvedNumberFormatOptions

fn from(obj: JsValue) -> Self

impl FromWasmAbi for ResolvedNumberFormatOptions

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

impl IntoJsGeneric for ResolvedNumberFormatOptions where ResolvedNumberFormatOptions: JsGeneric,

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

impl IntoWasmAbi for ResolvedNumberFormatOptions

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

impl JsCast for ResolvedNumberFormatOptions

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

impl LongRefFromWasmAbi for ResolvedNumberFormatOptions

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

impl OptionFromWasmAbi for ResolvedNumberFormatOptions

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

impl OptionIntoWasmAbi for ResolvedNumberFormatOptions

fn none() -> Self::Abi

impl Promising for ResolvedNumberFormatOptions

type Resolution = ResolvedNumberFormatOptions;

impl RefFromWasmAbi for ResolvedNumberFormatOptions

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

impl UpcastFrom<ResolvedNumberFormatOptions> for ResolvedNumberFormatOptions

impl WasmDescribe for ResolvedNumberFormatOptions

fn describe()

Auto Trait Implementations

impl Freeze for ResolvedNumberFormatOptions

impl RefUnwindSafe for ResolvedNumberFormatOptions

impl Send for ResolvedNumberFormatOptions

impl Sync for ResolvedNumberFormatOptions

impl Unpin for ResolvedNumberFormatOptions

impl UnsafeUnpin for ResolvedNumberFormatOptions

impl UnwindSafe for ResolvedNumberFormatOptions

Blanket Implementations

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

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

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

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

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

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

impl<T> From<T> for ResolvedNumberFormatOptions

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

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

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

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

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

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

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

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

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

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