Struct ResolvedRelativeTimeFormatOptions
#[repr(transparent)]
pub struct ResolvedRelativeTimeFormatOptions { /* private fields */ }
Resolved options returned by Intl.RelativeTimeFormat.prototype.resolvedOptions().
Implementations
impl ResolvedRelativeTimeFormatOptions
fn get_numbering_system(&self) -> JsStringThe numbering system used.
impl ResolvedRelativeTimeFormatOptions
fn get_locale(&self) -> JsStringThe 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) -> boolfn unchecked_from_js(val: JsValue) -> Selffn 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()