Struct lignin::web::Element[][src]

#[repr(transparent)]
pub struct Element(_);

Erasable stand-in for web_sys::Element used as callback parameter.

Use Materialize::materialize to convert it to the actual value.

Implementations

impl Element[src]

#[must_use]
pub fn new(value: Element) -> Self
[src]

Creates a new Element instance. The "callbacks" feature is required to use this function.

Trait Implementations

impl Clone for Element[src]

impl Debug for Element[src]

impl<'a> From<&'a Element> for &'a Element[src]

impl From<Element> for Element[src]

impl<'a> Materialize<&'a Element> for &'a Element[src]

impl Materialize<Element> for Element[src]

Auto Trait Implementations

impl RefUnwindSafe for Element

impl !Send for Element

impl !Sync for Element

impl Unpin for Element

impl UnwindSafe for Element

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> 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.