[][src]Struct web_sys::IntlUtils

#[repr(transparent)]
pub struct IntlUtils { /* fields omitted */ }

The IntlUtils object

MDN Documentation

This API requires the following crate features to be activated: IntlUtils

Methods

impl IntlUtils[src]

pub fn get_display_names(
    &self,
    locales: &JsValue
) -> Result<DisplayNameResult, JsValue>
[src]

The getDisplayNames() method

MDN Documentation

This API requires the following crate features to be activated: DisplayNameResult, IntlUtils

impl IntlUtils[src]

pub fn get_display_names_with_options(
    &self,
    locales: &JsValue,
    options: &DisplayNameOptions
) -> Result<DisplayNameResult, JsValue>
[src]

The getDisplayNames() method

MDN Documentation

This API requires the following crate features to be activated: DisplayNameOptions, DisplayNameResult, IntlUtils

impl IntlUtils[src]

pub fn get_locale_info(&self, locales: &JsValue) -> Result<LocaleInfo, JsValue>[src]

The getLocaleInfo() method

MDN Documentation

This API requires the following crate features to be activated: IntlUtils, LocaleInfo

Trait Implementations

impl AsRef<IntlUtils> for IntlUtils[src]

impl AsRef<JsValue> for IntlUtils[src]

impl AsRef<Object> for IntlUtils[src]

impl Clone for IntlUtils[src]

impl Debug for IntlUtils[src]

impl Deref for IntlUtils[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for IntlUtils[src]

impl From<IntlUtils> for JsValue[src]

impl From<IntlUtils> for Object[src]

impl From<JsValue> for IntlUtils[src]

impl FromWasmAbi for IntlUtils[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for IntlUtils[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a IntlUtils[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for IntlUtils[src]

impl OptionFromWasmAbi for IntlUtils[src]

impl OptionIntoWasmAbi for IntlUtils[src]

impl<'a> OptionIntoWasmAbi for &'a IntlUtils[src]

impl PartialEq<IntlUtils> for IntlUtils[src]

impl RefFromWasmAbi for IntlUtils[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<IntlUtils>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for IntlUtils[src]

impl StructuralPartialEq for IntlUtils[src]

impl WasmDescribe for IntlUtils[src]

Auto Trait Implementations

impl RefUnwindSafe for IntlUtils

impl !Send for IntlUtils

impl !Sync for IntlUtils

impl Unpin for IntlUtils

impl UnwindSafe for IntlUtils

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.