Struct ResolvedDateTimeFormatOptions

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

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

MDN documentation

Implementations

impl ResolvedDateTimeFormatOptions

fn get_locale(&self) -> JsString

The resolved locale string.

Trait Implementations

impl AsRef<DateTimeFormatOptions> for ResolvedDateTimeFormatOptions

fn as_ref(&self) -> &DateTimeFormatOptions

impl AsRef<JsValue> for ResolvedDateTimeFormatOptions

fn as_ref(&self) -> &JsValue

impl AsRef<ResolvedDateTimeFormatOptions> for ResolvedDateTimeFormatOptions

fn as_ref(&self) -> &ResolvedDateTimeFormatOptions

impl Clone for ResolvedDateTimeFormatOptions

fn clone(&self) -> Self

impl Debug for ResolvedDateTimeFormatOptions

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

impl Deref for ResolvedDateTimeFormatOptions

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

impl ErasableGeneric for ResolvedDateTimeFormatOptions

type Repr = JsValue;

impl From<JsValue> for ResolvedDateTimeFormatOptions

fn from(obj: JsValue) -> Self

impl FromWasmAbi for ResolvedDateTimeFormatOptions

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

impl IntoJsGeneric for ResolvedDateTimeFormatOptions where ResolvedDateTimeFormatOptions: JsGeneric,

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

impl IntoWasmAbi for ResolvedDateTimeFormatOptions

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

impl JsCast for ResolvedDateTimeFormatOptions

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

impl LongRefFromWasmAbi for ResolvedDateTimeFormatOptions

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

impl OptionFromWasmAbi for ResolvedDateTimeFormatOptions

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

impl OptionIntoWasmAbi for ResolvedDateTimeFormatOptions

fn none() -> Self::Abi

impl Promising for ResolvedDateTimeFormatOptions

type Resolution = ResolvedDateTimeFormatOptions;

impl RefFromWasmAbi for ResolvedDateTimeFormatOptions

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

impl UpcastFrom<ResolvedDateTimeFormatOptions> for ResolvedDateTimeFormatOptions

impl WasmDescribe for ResolvedDateTimeFormatOptions

fn describe()

Auto Trait Implementations

impl Freeze for ResolvedDateTimeFormatOptions

impl RefUnwindSafe for ResolvedDateTimeFormatOptions

impl Send for ResolvedDateTimeFormatOptions

impl Sync for ResolvedDateTimeFormatOptions

impl Unpin for ResolvedDateTimeFormatOptions

impl UnsafeUnpin for ResolvedDateTimeFormatOptions

impl UnwindSafe for ResolvedDateTimeFormatOptions

Blanket Implementations

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

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

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

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

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

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

impl<T> From<T> for ResolvedDateTimeFormatOptions

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

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

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

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

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

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

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

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

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

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