Struct ResolvedPluralRulesOptions

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

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

MDN documentation

Implementations

impl ResolvedPluralRulesOptions

fn get_locale(&self) -> JsString

The resolved locale string.

impl ResolvedPluralRulesOptions

fn get_plural_categories(&self) -> Array<JsString>

The plural categories used by the locale.

Trait Implementations

impl AsRef<JsValue> for ResolvedPluralRulesOptions

fn as_ref(&self) -> &JsValue

impl AsRef<PluralRulesOptions> for ResolvedPluralRulesOptions

fn as_ref(&self) -> &PluralRulesOptions

impl AsRef<ResolvedPluralRulesOptions> for ResolvedPluralRulesOptions

fn as_ref(&self) -> &ResolvedPluralRulesOptions

impl Clone for ResolvedPluralRulesOptions

fn clone(&self) -> Self

impl Debug for ResolvedPluralRulesOptions

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

impl Deref for ResolvedPluralRulesOptions

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

impl ErasableGeneric for ResolvedPluralRulesOptions

type Repr = JsValue;

impl From<JsValue> for ResolvedPluralRulesOptions

fn from(obj: JsValue) -> Self

impl FromWasmAbi for ResolvedPluralRulesOptions

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

impl IntoJsGeneric for ResolvedPluralRulesOptions where ResolvedPluralRulesOptions: JsGeneric,

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

impl IntoWasmAbi for ResolvedPluralRulesOptions

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

impl JsCast for ResolvedPluralRulesOptions

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

impl LongRefFromWasmAbi for ResolvedPluralRulesOptions

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

impl OptionFromWasmAbi for ResolvedPluralRulesOptions

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

impl OptionIntoWasmAbi for ResolvedPluralRulesOptions

fn none() -> Self::Abi

impl Promising for ResolvedPluralRulesOptions

type Resolution = ResolvedPluralRulesOptions;

impl RefFromWasmAbi for ResolvedPluralRulesOptions

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

impl UpcastFrom<ResolvedPluralRulesOptions> for ResolvedPluralRulesOptions

impl WasmDescribe for ResolvedPluralRulesOptions

fn describe()

Auto Trait Implementations

impl Freeze for ResolvedPluralRulesOptions

impl RefUnwindSafe for ResolvedPluralRulesOptions

impl Send for ResolvedPluralRulesOptions

impl Sync for ResolvedPluralRulesOptions

impl Unpin for ResolvedPluralRulesOptions

impl UnsafeUnpin for ResolvedPluralRulesOptions

impl UnwindSafe for ResolvedPluralRulesOptions

Blanket Implementations

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

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

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

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

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

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

impl<T> From<T> for ResolvedPluralRulesOptions

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

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

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

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

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

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

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

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

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

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