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]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for Document
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<Window> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for Window
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl Clone for EventTarget
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for EventTarget
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for EventTarget
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for EventTarget
[src]

impl InstanceOf for EventTarget
[src]

[src]

Checks whenever a given Reference if of type Self.

impl AsRef<Reference> for EventTarget
[src]

[src]

Performs the conversion.

impl ReferenceType for EventTarget
[src]

[src]

Converts a given reference into a concrete reference-like wrapper. Doesn't do any type checking; highly unsafe to use! Read more

impl From<EventTarget> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Reference> for EventTarget
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'_r> TryFrom<&'_r Reference> for EventTarget
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Value> for EventTarget
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'_r> TryFrom<&'_r Value> for EventTarget
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl JsSerialize for EventTarget
[src]

impl IEventTarget for EventTarget
[src]

[src]

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

[src]

Dispatches an Event at this EventTarget, invoking the affected event listeners in the appropriate order. Read more

impl From<Node> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for Node
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<Element> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for Element
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<HtmlElement> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for HtmlElement
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<CanvasElement> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for CanvasElement
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<ImageElement> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for ImageElement
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<InputElement> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for InputElement
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<TextAreaElement> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for TextAreaElement
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<SelectElement> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for SelectElement
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<OptionElement> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for OptionElement
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<DocumentFragment> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for DocumentFragment
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<TextNode> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for TextNode
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<FileReader> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for FileReader
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<XmlHttpRequest> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for XmlHttpRequest
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<WebSocket> for EventTarget
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for WebSocket
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for EventTarget

impl Sync for EventTarget