Struct ResolvedRelativeTimeFormatOptions

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

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

MDN documentation

Implementations

impl ResolvedRelativeTimeFormatOptions

fn get_numbering_system(&self) -> JsString

The numbering system used.

impl ResolvedRelativeTimeFormatOptions

fn get_locale(&self) -> JsString

The resolved locale string.

Trait Implementations

impl AsRef<JsValue> for ResolvedRelativeTimeFormatOptions

fn as_ref(&self) -> &JsValue

impl AsRef<RelativeTimeFormatOptions> for ResolvedRelativeTimeFormatOptions

fn as_ref(&self) -> &RelativeTimeFormatOptions

impl AsRef<ResolvedRelativeTimeFormatOptions> for ResolvedRelativeTimeFormatOptions

fn as_ref(&self) -> &ResolvedRelativeTimeFormatOptions

impl Clone for ResolvedRelativeTimeFormatOptions

fn clone(&self) -> Self

impl Debug for ResolvedRelativeTimeFormatOptions

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

impl Deref for ResolvedRelativeTimeFormatOptions

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

impl ErasableGeneric for ResolvedRelativeTimeFormatOptions

type Repr = JsValue;

impl From<JsValue> for ResolvedRelativeTimeFormatOptions

fn from(obj: JsValue) -> Self

impl FromWasmAbi for ResolvedRelativeTimeFormatOptions

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

impl IntoJsGeneric for ResolvedRelativeTimeFormatOptions where ResolvedRelativeTimeFormatOptions: JsGeneric,

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

impl IntoWasmAbi for ResolvedRelativeTimeFormatOptions

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

impl JsCast for ResolvedRelativeTimeFormatOptions

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

impl LongRefFromWasmAbi for ResolvedRelativeTimeFormatOptions

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

impl OptionFromWasmAbi for ResolvedRelativeTimeFormatOptions

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

impl OptionIntoWasmAbi for ResolvedRelativeTimeFormatOptions

fn none() -> Self::Abi

impl Promising for ResolvedRelativeTimeFormatOptions

type Resolution = ResolvedRelativeTimeFormatOptions;

impl RefFromWasmAbi for ResolvedRelativeTimeFormatOptions

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

impl UpcastFrom<ResolvedRelativeTimeFormatOptions> for ResolvedRelativeTimeFormatOptions

impl WasmDescribe for ResolvedRelativeTimeFormatOptions

fn describe()

Auto Trait Implementations

impl Freeze for ResolvedRelativeTimeFormatOptions

impl RefUnwindSafe for ResolvedRelativeTimeFormatOptions

impl Send for ResolvedRelativeTimeFormatOptions

impl Sync for ResolvedRelativeTimeFormatOptions

impl Unpin for ResolvedRelativeTimeFormatOptions

impl UnsafeUnpin for ResolvedRelativeTimeFormatOptions

impl UnwindSafe for ResolvedRelativeTimeFormatOptions

Blanket Implementations

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

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

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

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

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

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

impl<T> From<T> for ResolvedRelativeTimeFormatOptions

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

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

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

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

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

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

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

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

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

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