[][src]Struct web_sys::EventTarget

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

The EventTarget object

MDN Documentation

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

Methods

impl EventTarget
[src]

The new EventTarget(..) constructor, creating a new instance of EventTarget

MDN Documentation

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

impl EventTarget
[src]

The addEventListener() method

MDN Documentation

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

impl EventTarget
[src]

The addEventListener() method

MDN Documentation

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

impl EventTarget
[src]

The addEventListener() method

MDN Documentation

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

impl EventTarget
[src]

The dispatchEvent() method

MDN Documentation

This API requires the following crate features to be activated: Event, EventTarget

impl EventTarget
[src]

The removeEventListener() method

MDN Documentation

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

impl EventTarget
[src]

The removeEventListener() method

MDN Documentation

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

Trait Implementations

impl AsRef<EventTarget> for Document
[src]

impl AsRef<EventTarget> for DocumentFragment
[src]

impl AsRef<EventTarget> for Element
[src]

impl AsRef<JsValue> for EventTarget
[src]

impl AsRef<Object> for EventTarget
[src]

impl AsRef<EventTarget> for HtmlElement
[src]

impl AsRef<EventTarget> for Node
[src]

impl AsRef<EventTarget> for Window
[src]

impl From<Document> for EventTarget
[src]

impl From<DocumentFragment> for EventTarget
[src]

impl From<Element> for EventTarget
[src]

impl From<JsValue> for EventTarget
[src]

impl From<EventTarget> for JsValue
[src]

impl From<EventTarget> for Object
[src]

impl From<HtmlElement> for EventTarget
[src]

impl From<Node> for EventTarget
[src]

impl From<Window> for EventTarget
[src]

impl Clone for EventTarget
[src]

Performs copy-assignment from source. Read more

impl Debug for EventTarget
[src]

impl Deref for EventTarget
[src]

The resulting type after dereferencing.

impl JsCast for EventTarget
[src]

Test whether this JS value is an instance of the type T. Read more

Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more

Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more

Performs a zero-cost unchecked cast into the specified type. Read more

Performs a zero-cost unchecked cast into a reference to the specified type. Read more

impl WasmDescribe for EventTarget
[src]

impl IntoWasmAbi for EventTarget
[src]

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

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

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

impl FromWasmAbi for EventTarget
[src]

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

impl OptionFromWasmAbi for EventTarget
[src]

impl RefFromWasmAbi for EventTarget
[src]

The wasm ABI type references to Self are recovered from.

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 OptionIntoWasmAbi for EventTarget
[src]

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

Auto Trait Implementations

impl !Send for EventTarget

impl !Sync for EventTarget

Blanket Implementations

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

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

Same as IntoWasmAbi::Abi