Struct stdweb::web::EventTarget [] [src]

pub struct EventTarget(_);

A reference to a JavaScript object which implements the IEventTarget interface.

(JavaScript docs)

Trait Implementations

impl From<Document> for EventTarget
[src]

Performs the conversion.

impl From<Window> for EventTarget
[src]

Performs the conversion.

impl IEventTarget for EventTarget
[src]

Adds given event handler to the list the list of event listeners for the specified EventTarget on which it's called. Read more

impl Debug for EventTarget
[src]

Formats the value using the given formatter.

impl Clone for EventTarget
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl AsRef<Reference> for EventTarget
[src]

Performs the conversion.

impl<T: TryInto<Reference>> TryFrom<T> for EventTarget where
    T::Error: Into<Box<Error>>, 
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<Node> for EventTarget
[src]

Performs the conversion.

impl From<Element> for EventTarget
[src]

Performs the conversion.

impl From<HtmlElement> for EventTarget
[src]

Performs the conversion.

impl From<InputElement> for EventTarget
[src]

Performs the conversion.

impl From<TextNode> for EventTarget
[src]

Performs the conversion.