[][src]Struct web_sys::L10nElement

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

The L10nElement dictionary.

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

Methods

impl L10nElement[src]

pub fn new(l10n_id: &str, local_name: &str, namespace_uri: &str) -> Self[src]

Construct a new L10nElement.

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

pub fn l10n_args(&mut self, val: Option<&Object>) -> &mut Self[src]

Change the l10nArgs field of this object.

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

pub fn l10n_attrs(&mut self, val: Option<&str>) -> &mut Self[src]

Change the l10nAttrs field of this object.

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

pub fn l10n_id(&mut self, val: &str) -> &mut Self[src]

Change the l10nId field of this object.

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

pub fn local_name(&mut self, val: &str) -> &mut Self[src]

Change the localName field of this object.

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

pub fn namespace_uri(&mut self, val: &str) -> &mut Self[src]

Change the namespaceURI field of this object.

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

pub fn type_(&mut self, val: Option<&str>) -> &mut Self[src]

Change the type field of this object.

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

Trait Implementations

impl AsRef<JsValue> for L10nElement[src]

impl AsRef<L10nElement> for L10nElement[src]

impl AsRef<Object> for L10nElement[src]

impl Clone for L10nElement[src]

impl Debug for L10nElement[src]

impl Deref for L10nElement[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for L10nElement[src]

impl From<JsValue> for L10nElement[src]

impl From<L10nElement> for JsValue[src]

impl From<L10nElement> for Object[src]

impl FromWasmAbi for L10nElement[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 L10nElement[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 L10nElement[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 L10nElement[src]

impl OptionFromWasmAbi for L10nElement[src]

impl OptionIntoWasmAbi for L10nElement[src]

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

impl PartialEq<L10nElement> for L10nElement[src]

impl RefFromWasmAbi for L10nElement[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<L10nElement>

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 L10nElement[src]

impl StructuralPartialEq for L10nElement[src]

impl WasmDescribe for L10nElement[src]

Auto Trait Implementations

impl RefUnwindSafe for L10nElement

impl !Send for L10nElement

impl !Sync for L10nElement

impl Unpin for L10nElement

impl UnwindSafe for L10nElement

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.