web_sys

Struct EventTarget

Source
pub struct EventTarget { /* private fields */ }
Expand description

The EventTarget class.

MDN Documentation

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

Implementations§

Source§

impl EventTarget

Source

pub fn new() -> Result<EventTarget, JsValue>

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

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn add_event_listener_with_callback( &self, type_: &str, listener: &Function, ) -> Result<(), JsValue>

The addEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn add_event_listener_with_event_listener( &self, type_: &str, listener: &EventListener, ) -> Result<(), JsValue>

The addEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn add_event_listener_with_callback_and_add_event_listener_options( &self, type_: &str, listener: &Function, options: &AddEventListenerOptions, ) -> Result<(), JsValue>

The addEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn add_event_listener_with_event_listener_and_add_event_listener_options( &self, type_: &str, listener: &EventListener, options: &AddEventListenerOptions, ) -> Result<(), JsValue>

The addEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn add_event_listener_with_callback_and_bool( &self, type_: &str, listener: &Function, options: bool, ) -> Result<(), JsValue>

The addEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn add_event_listener_with_event_listener_and_bool( &self, type_: &str, listener: &EventListener, options: bool, ) -> Result<(), JsValue>

The addEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted( &self, type_: &str, listener: &Function, options: &AddEventListenerOptions, wants_untrusted: Option<bool>, ) -> Result<(), JsValue>

The addEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted( &self, type_: &str, listener: &EventListener, options: &AddEventListenerOptions, wants_untrusted: Option<bool>, ) -> Result<(), JsValue>

The addEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn add_event_listener_with_callback_and_bool_and_wants_untrusted( &self, type_: &str, listener: &Function, options: bool, wants_untrusted: Option<bool>, ) -> Result<(), JsValue>

The addEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn add_event_listener_with_event_listener_and_bool_and_wants_untrusted( &self, type_: &str, listener: &EventListener, options: bool, wants_untrusted: Option<bool>, ) -> Result<(), JsValue>

The addEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn dispatch_event(&self, event: &Event) -> Result<bool, JsValue>

The dispatchEvent() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn remove_event_listener_with_callback( &self, type_: &str, listener: &Function, ) -> Result<(), JsValue>

The removeEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn remove_event_listener_with_event_listener( &self, type_: &str, listener: &EventListener, ) -> Result<(), JsValue>

The removeEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn remove_event_listener_with_callback_and_event_listener_options( &self, type_: &str, listener: &Function, options: &EventListenerOptions, ) -> Result<(), JsValue>

The removeEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn remove_event_listener_with_event_listener_and_event_listener_options( &self, type_: &str, listener: &EventListener, options: &EventListenerOptions, ) -> Result<(), JsValue>

The removeEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn remove_event_listener_with_callback_and_bool( &self, type_: &str, listener: &Function, options: bool, ) -> Result<(), JsValue>

The removeEventListener() method.

MDN Documentation

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

Source§

impl EventTarget

Source

pub fn remove_event_listener_with_event_listener_and_bool( &self, type_: &str, listener: &EventListener, options: bool, ) -> Result<(), JsValue>

The removeEventListener() method.

MDN Documentation

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

Methods from Deref<Target = Object>§

Source

pub fn constructor(&self) -> Function

The constructor property returns a reference to the Object constructor function that created the instance object.

MDN documentation

Source

pub fn has_own_property(&self, property: &JsValue) -> bool

The hasOwnProperty() method returns a boolean indicating whether the object has the specified property as its own property (as opposed to inheriting it).

MDN documentation

Source

pub fn is_prototype_of(&self, value: &JsValue) -> bool

The isPrototypeOf() method checks if an object exists in another object’s prototype chain.

MDN documentation

Source

pub fn property_is_enumerable(&self, property: &JsValue) -> bool

The propertyIsEnumerable() method returns a Boolean indicating whether the specified property is enumerable.

MDN documentation

Source

pub fn to_locale_string(&self) -> JsString

The toLocaleString() method returns a string representing the object. This method is meant to be overridden by derived objects for locale-specific purposes.

MDN documentation

Source

pub fn to_string(&self) -> JsString

The toString() method returns a string representing the object.

MDN documentation

Source

pub fn value_of(&self) -> Object

The valueOf() method returns the primitive value of the specified object.

MDN documentation

Methods from Deref<Target = JsValue>§

Source

pub const NULL: JsValue = _

Source

pub const UNDEFINED: JsValue = _

Source

pub const TRUE: JsValue = _

Source

pub const FALSE: JsValue = _

Source

pub fn as_f64(&self) -> Option<f64>

Returns the f64 value of this JS value if it’s an instance of a number.

If this JS value is not an instance of a number then this returns None.

Source

pub fn is_string(&self) -> bool

Tests whether this JS value is a JS string.

Source

pub fn as_string(&self) -> Option<String>

If this JS value is a string value, this function copies the JS string value into Wasm linear memory, encoded as UTF-8, and returns it as a Rust String.

To avoid the copying and re-encoding, consider the JsString::try_from() function from js-sys instead.

If this JS value is not an instance of a string or if it’s not valid utf-8 then this returns None.

§UTF-16 vs UTF-8

JavaScript strings in general are encoded as UTF-16, but Rust strings are encoded as UTF-8. This can cause the Rust string to look a bit different than the JS string sometimes. For more details see the documentation about the str type which contains a few caveats about the encodings.

Source

pub fn as_bool(&self) -> Option<bool>

Returns the bool value of this JS value if it’s an instance of a boolean.

If this JS value is not an instance of a boolean then this returns None.

Source

pub fn is_null(&self) -> bool

Tests whether this JS value is null

Source

pub fn is_undefined(&self) -> bool

Tests whether this JS value is undefined

Source

pub fn is_symbol(&self) -> bool

Tests whether the type of this JS value is symbol

Source

pub fn is_object(&self) -> bool

Tests whether typeof self == "object" && self !== null.

Source

pub fn is_array(&self) -> bool

Tests whether this JS value is an instance of Array.

Source

pub fn is_function(&self) -> bool

Tests whether the type of this JS value is function.

Source

pub fn is_bigint(&self) -> bool

Tests whether the type of this JS value is bigint.

Source

pub fn js_typeof(&self) -> JsValue

Applies the unary typeof JS operator on a JsValue.

MDN documentation

Source

pub fn js_in(&self, obj: &JsValue) -> bool

Applies the binary in JS operator on the two JsValues.

MDN documentation

Source

pub fn is_truthy(&self) -> bool

Tests whether the value is “truthy”.

Source

pub fn is_falsy(&self) -> bool

Tests whether the value is “falsy”.

Source

pub fn loose_eq(&self, other: &JsValue) -> bool

Compare two JsValues for equality, using the == operator in JS.

MDN documentation

Source

pub fn bit_not(&self) -> JsValue

Applies the unary ~ JS operator on a JsValue.

MDN documentation

Source

pub fn unsigned_shr(&self, rhs: &JsValue) -> u32

Applies the binary >>> JS operator on the two JsValues.

MDN documentation

Source

pub fn checked_div(&self, rhs: &JsValue) -> JsValue

Applies the binary / JS operator on two JsValues, catching and returning any RangeError thrown.

MDN documentation

Source

pub fn pow(&self, rhs: &JsValue) -> JsValue

Applies the binary ** JS operator on the two JsValues.

MDN documentation

Source

pub fn lt(&self, other: &JsValue) -> bool

Applies the binary < JS operator on the two JsValues.

MDN documentation

Source

pub fn le(&self, other: &JsValue) -> bool

Applies the binary <= JS operator on the two JsValues.

MDN documentation

Source

pub fn ge(&self, other: &JsValue) -> bool

Applies the binary >= JS operator on the two JsValues.

MDN documentation

Source

pub fn gt(&self, other: &JsValue) -> bool

Applies the binary > JS operator on the two JsValues.

MDN documentation

Source

pub fn unchecked_into_f64(&self) -> f64

Applies the unary + JS operator on a JsValue. Can throw.

MDN documentation

Trait Implementations§

Source§

impl AsRef<EventTarget> for AbortSignal

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for AnalyserNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Animation

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Attr

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for AudioBufferSourceNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for AudioContext

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for AudioDestinationNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for AudioNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for AudioScheduledSourceNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for AudioStreamTrack

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for AudioTrackList

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for AudioWorkletNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for BaseAudioContext

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for BatteryManager

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for BiquadFilterNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Bluetooth

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for BluetoothDevice

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for BluetoothPermissionResult

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for BluetoothRemoteGattCharacteristic

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for BluetoothRemoteGattService

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for BroadcastChannel

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for CanvasCaptureMediaStream

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for CanvasCaptureMediaStreamTrack

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for CdataSection

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ChannelMergerNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ChannelSplitterNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for CharacterData

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ChromeWorker

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Clipboard

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Comment

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ConstantSourceNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ConvolverNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for CssAnimation

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for CssTransition

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for DedicatedWorkerGlobalScope

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for DelayNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Document

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for DocumentFragment

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for DocumentType

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for DomRequest

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for DynamicsCompressorNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Element

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for EventSource

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for EventTarget

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for FetchObserver

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for FileReader

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for FontFaceSet

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for GainNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for GpuDevice

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Hid

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HidDevice

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlAnchorElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlAreaElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlAudioElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlBaseElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlBodyElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlBrElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlButtonElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlCanvasElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlDListElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlDataElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlDataListElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlDetailsElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlDialogElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlDirectoryElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlDivElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlDocument

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlEmbedElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlFieldSetElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlFontElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlFormElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlFrameElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlFrameSetElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlHeadElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlHeadingElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlHrElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlHtmlElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlIFrameElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlImageElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlInputElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlLabelElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlLegendElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlLiElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlLinkElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlMapElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlMediaElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlMenuElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlMenuItemElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlMetaElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlMeterElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlModElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlOListElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlObjectElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlOptGroupElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlOptionElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlOutputElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlParagraphElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlParamElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlPictureElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlPreElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlProgressElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlQuoteElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlScriptElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlSelectElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlSlotElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlSourceElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlSpanElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlStyleElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlTableCaptionElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlTableCellElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlTableColElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlTableElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlTableRowElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlTableSectionElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlTemplateElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlTextAreaElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlTimeElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlTitleElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlTrackElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlUListElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlUnknownElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for HtmlVideoElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for IdbDatabase

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for IdbFileHandle

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for IdbFileRequest

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for IdbMutableFile

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for IdbOpenDbRequest

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for IdbRequest

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for IdbTransaction

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for IirFilterNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ImageTrack

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for LocalMediaStream

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MathMlElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MediaDevices

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MediaElementAudioSourceNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MediaKeySession

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MediaQueryList

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MediaRecorder

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MediaSource

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MediaStream

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MediaStreamAudioDestinationNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MediaStreamAudioSourceNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MediaStreamTrack

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MediaStreamTrackGenerator

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MessagePort

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MidiAccess

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MidiInput

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MidiOutput

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for MidiPort

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for NetworkInformation

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Node

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Notification

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for OfflineAudioContext

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for OfflineResourceList

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for OffscreenCanvas

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for OscillatorNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for PannerNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Performance

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for PermissionStatus

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for PresentationAvailability

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for PresentationConnection

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for PresentationConnectionList

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for PresentationRequest

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ProcessingInstruction

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for RtcDataChannel

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for RtcPeerConnection

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for RtcRtpScriptTransformer

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for RtcdtmfSender

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SFrameTransform

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Screen

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ScreenOrientation

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ScriptProcessorNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Serial

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SerialPort

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ServiceWorker

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ServiceWorkerContainer

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ServiceWorkerGlobalScope

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ServiceWorkerRegistration

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for ShadowRoot

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SharedWorker

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SharedWorkerGlobalScope

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SourceBuffer

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SourceBufferList

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SpeechRecognition

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SpeechSynthesis

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SpeechSynthesisUtterance

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for StereoPannerNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgAnimateElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgAnimateMotionElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgAnimateTransformElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgAnimationElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgCircleElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgClipPathElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgComponentTransferFunctionElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgDefsElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgDescElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgEllipseElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgFilterElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgForeignObjectElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgGeometryElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgGradientElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgGraphicsElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgImageElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgLineElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgLinearGradientElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgMarkerElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgMaskElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgMetadataElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgPathElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgPatternElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgPolygonElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgPolylineElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgRadialGradientElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgRectElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgScriptElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgSetElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgStopElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgStyleElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgSwitchElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgSymbolElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgTextContentElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgTextElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgTextPathElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgTextPositioningElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgTitleElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgUseElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgViewElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgaElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeBlendElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeColorMatrixElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeComponentTransferElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeCompositeElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeConvolveMatrixElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeDiffuseLightingElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeDisplacementMapElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeDistantLightElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeDropShadowElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeFloodElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeFuncAElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeFuncBElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeFuncGElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeFuncRElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeGaussianBlurElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeImageElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeMergeElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeMergeNodeElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeMorphologyElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeOffsetElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfePointLightElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeSpecularLightingElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeSpotLightElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeTileElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgfeTurbulenceElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvggElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgmPathElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgsvgElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for SvgtSpanElement

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for TaskSignal

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for TcpServerSocket

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for TcpSocket

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Text

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for TextTrack

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for TextTrackCue

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for TextTrackList

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Usb

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for UsbPermissionResult

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for VideoStreamTrack

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for VideoTrackList

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for VisualViewport

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for VrDisplay

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for VttCue

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for WakeLockSentinel

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for WaveShaperNode

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for WebSocket

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Window

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for Worker

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for WorkerDebuggerGlobalScope

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for WorkerGlobalScope

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XmlDocument

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XmlHttpRequest

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XmlHttpRequestEventTarget

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XmlHttpRequestUpload

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XrBoundedReferenceSpace

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XrJointSpace

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XrLayer

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XrPermissionStatus

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XrReferenceSpace

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XrSession

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XrSpace

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XrSystem

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<EventTarget> for XrWebGlLayer

Source§

fn as_ref(&self) -> &EventTarget

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<JsValue> for EventTarget

Source§

fn as_ref(&self) -> &JsValue

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl AsRef<Object> for EventTarget

Source§

fn as_ref(&self) -> &Object

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for EventTarget

Source§

fn clone(&self) -> EventTarget

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EventTarget

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deref for EventTarget

Source§

type Target = Object

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Object

Dereferences the value.
Source§

impl From<AbortSignal> for EventTarget

Source§

fn from(obj: AbortSignal) -> EventTarget

Converts to this type from the input type.
Source§

impl From<AnalyserNode> for EventTarget

Source§

fn from(obj: AnalyserNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Animation> for EventTarget

Source§

fn from(obj: Animation) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Attr> for EventTarget

Source§

fn from(obj: Attr) -> EventTarget

Converts to this type from the input type.
Source§

impl From<AudioBufferSourceNode> for EventTarget

Source§

fn from(obj: AudioBufferSourceNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<AudioContext> for EventTarget

Source§

fn from(obj: AudioContext) -> EventTarget

Converts to this type from the input type.
Source§

impl From<AudioDestinationNode> for EventTarget

Source§

fn from(obj: AudioDestinationNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<AudioNode> for EventTarget

Source§

fn from(obj: AudioNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<AudioScheduledSourceNode> for EventTarget

Source§

fn from(obj: AudioScheduledSourceNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<AudioStreamTrack> for EventTarget

Source§

fn from(obj: AudioStreamTrack) -> EventTarget

Converts to this type from the input type.
Source§

impl From<AudioTrackList> for EventTarget

Source§

fn from(obj: AudioTrackList) -> EventTarget

Converts to this type from the input type.
Source§

impl From<AudioWorkletNode> for EventTarget

Source§

fn from(obj: AudioWorkletNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<BaseAudioContext> for EventTarget

Source§

fn from(obj: BaseAudioContext) -> EventTarget

Converts to this type from the input type.
Source§

impl From<BatteryManager> for EventTarget

Source§

fn from(obj: BatteryManager) -> EventTarget

Converts to this type from the input type.
Source§

impl From<BiquadFilterNode> for EventTarget

Source§

fn from(obj: BiquadFilterNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Bluetooth> for EventTarget

Source§

fn from(obj: Bluetooth) -> EventTarget

Converts to this type from the input type.
Source§

impl From<BluetoothDevice> for EventTarget

Source§

fn from(obj: BluetoothDevice) -> EventTarget

Converts to this type from the input type.
Source§

impl From<BluetoothPermissionResult> for EventTarget

Source§

fn from(obj: BluetoothPermissionResult) -> EventTarget

Converts to this type from the input type.
Source§

impl From<BluetoothRemoteGattCharacteristic> for EventTarget

Source§

fn from(obj: BluetoothRemoteGattCharacteristic) -> EventTarget

Converts to this type from the input type.
Source§

impl From<BluetoothRemoteGattService> for EventTarget

Source§

fn from(obj: BluetoothRemoteGattService) -> EventTarget

Converts to this type from the input type.
Source§

impl From<BroadcastChannel> for EventTarget

Source§

fn from(obj: BroadcastChannel) -> EventTarget

Converts to this type from the input type.
Source§

impl From<CanvasCaptureMediaStream> for EventTarget

Source§

fn from(obj: CanvasCaptureMediaStream) -> EventTarget

Converts to this type from the input type.
Source§

impl From<CanvasCaptureMediaStreamTrack> for EventTarget

Source§

fn from(obj: CanvasCaptureMediaStreamTrack) -> EventTarget

Converts to this type from the input type.
Source§

impl From<CdataSection> for EventTarget

Source§

fn from(obj: CdataSection) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ChannelMergerNode> for EventTarget

Source§

fn from(obj: ChannelMergerNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ChannelSplitterNode> for EventTarget

Source§

fn from(obj: ChannelSplitterNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<CharacterData> for EventTarget

Source§

fn from(obj: CharacterData) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ChromeWorker> for EventTarget

Source§

fn from(obj: ChromeWorker) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Clipboard> for EventTarget

Source§

fn from(obj: Clipboard) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Comment> for EventTarget

Source§

fn from(obj: Comment) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ConstantSourceNode> for EventTarget

Source§

fn from(obj: ConstantSourceNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ConvolverNode> for EventTarget

Source§

fn from(obj: ConvolverNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<CssAnimation> for EventTarget

Source§

fn from(obj: CssAnimation) -> EventTarget

Converts to this type from the input type.
Source§

impl From<CssTransition> for EventTarget

Source§

fn from(obj: CssTransition) -> EventTarget

Converts to this type from the input type.
Source§

impl From<DedicatedWorkerGlobalScope> for EventTarget

Source§

fn from(obj: DedicatedWorkerGlobalScope) -> EventTarget

Converts to this type from the input type.
Source§

impl From<DelayNode> for EventTarget

Source§

fn from(obj: DelayNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Document> for EventTarget

Source§

fn from(obj: Document) -> EventTarget

Converts to this type from the input type.
Source§

impl From<DocumentFragment> for EventTarget

Source§

fn from(obj: DocumentFragment) -> EventTarget

Converts to this type from the input type.
Source§

impl From<DocumentType> for EventTarget

Source§

fn from(obj: DocumentType) -> EventTarget

Converts to this type from the input type.
Source§

impl From<DomRequest> for EventTarget

Source§

fn from(obj: DomRequest) -> EventTarget

Converts to this type from the input type.
Source§

impl From<DynamicsCompressorNode> for EventTarget

Source§

fn from(obj: DynamicsCompressorNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Element> for EventTarget

Source§

fn from(obj: Element) -> EventTarget

Converts to this type from the input type.
Source§

impl From<EventSource> for EventTarget

Source§

fn from(obj: EventSource) -> EventTarget

Converts to this type from the input type.
Source§

impl From<EventTarget> for JsValue

Source§

fn from(obj: EventTarget) -> JsValue

Converts to this type from the input type.
Source§

impl From<EventTarget> for Object

Source§

fn from(obj: EventTarget) -> Object

Converts to this type from the input type.
Source§

impl From<FetchObserver> for EventTarget

Source§

fn from(obj: FetchObserver) -> EventTarget

Converts to this type from the input type.
Source§

impl From<FileReader> for EventTarget

Source§

fn from(obj: FileReader) -> EventTarget

Converts to this type from the input type.
Source§

impl From<FontFaceSet> for EventTarget

Source§

fn from(obj: FontFaceSet) -> EventTarget

Converts to this type from the input type.
Source§

impl From<GainNode> for EventTarget

Source§

fn from(obj: GainNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<GpuDevice> for EventTarget

Source§

fn from(obj: GpuDevice) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Hid> for EventTarget

Source§

fn from(obj: Hid) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HidDevice> for EventTarget

Source§

fn from(obj: HidDevice) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlAnchorElement> for EventTarget

Source§

fn from(obj: HtmlAnchorElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlAreaElement> for EventTarget

Source§

fn from(obj: HtmlAreaElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlAudioElement> for EventTarget

Source§

fn from(obj: HtmlAudioElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlBaseElement> for EventTarget

Source§

fn from(obj: HtmlBaseElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlBodyElement> for EventTarget

Source§

fn from(obj: HtmlBodyElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlBrElement> for EventTarget

Source§

fn from(obj: HtmlBrElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlButtonElement> for EventTarget

Source§

fn from(obj: HtmlButtonElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlCanvasElement> for EventTarget

Source§

fn from(obj: HtmlCanvasElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlDListElement> for EventTarget

Source§

fn from(obj: HtmlDListElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlDataElement> for EventTarget

Source§

fn from(obj: HtmlDataElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlDataListElement> for EventTarget

Source§

fn from(obj: HtmlDataListElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlDetailsElement> for EventTarget

Source§

fn from(obj: HtmlDetailsElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlDialogElement> for EventTarget

Source§

fn from(obj: HtmlDialogElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlDirectoryElement> for EventTarget

Source§

fn from(obj: HtmlDirectoryElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlDivElement> for EventTarget

Source§

fn from(obj: HtmlDivElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlDocument> for EventTarget

Source§

fn from(obj: HtmlDocument) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlElement> for EventTarget

Source§

fn from(obj: HtmlElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlEmbedElement> for EventTarget

Source§

fn from(obj: HtmlEmbedElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlFieldSetElement> for EventTarget

Source§

fn from(obj: HtmlFieldSetElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlFontElement> for EventTarget

Source§

fn from(obj: HtmlFontElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlFormElement> for EventTarget

Source§

fn from(obj: HtmlFormElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlFrameElement> for EventTarget

Source§

fn from(obj: HtmlFrameElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlFrameSetElement> for EventTarget

Source§

fn from(obj: HtmlFrameSetElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlHeadElement> for EventTarget

Source§

fn from(obj: HtmlHeadElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlHeadingElement> for EventTarget

Source§

fn from(obj: HtmlHeadingElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlHrElement> for EventTarget

Source§

fn from(obj: HtmlHrElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlHtmlElement> for EventTarget

Source§

fn from(obj: HtmlHtmlElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlIFrameElement> for EventTarget

Source§

fn from(obj: HtmlIFrameElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlImageElement> for EventTarget

Source§

fn from(obj: HtmlImageElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlInputElement> for EventTarget

Source§

fn from(obj: HtmlInputElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlLabelElement> for EventTarget

Source§

fn from(obj: HtmlLabelElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlLegendElement> for EventTarget

Source§

fn from(obj: HtmlLegendElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlLiElement> for EventTarget

Source§

fn from(obj: HtmlLiElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlLinkElement> for EventTarget

Source§

fn from(obj: HtmlLinkElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlMapElement> for EventTarget

Source§

fn from(obj: HtmlMapElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlMediaElement> for EventTarget

Source§

fn from(obj: HtmlMediaElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlMenuElement> for EventTarget

Source§

fn from(obj: HtmlMenuElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlMenuItemElement> for EventTarget

Source§

fn from(obj: HtmlMenuItemElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlMetaElement> for EventTarget

Source§

fn from(obj: HtmlMetaElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlMeterElement> for EventTarget

Source§

fn from(obj: HtmlMeterElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlModElement> for EventTarget

Source§

fn from(obj: HtmlModElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlOListElement> for EventTarget

Source§

fn from(obj: HtmlOListElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlObjectElement> for EventTarget

Source§

fn from(obj: HtmlObjectElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlOptGroupElement> for EventTarget

Source§

fn from(obj: HtmlOptGroupElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlOptionElement> for EventTarget

Source§

fn from(obj: HtmlOptionElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlOutputElement> for EventTarget

Source§

fn from(obj: HtmlOutputElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlParagraphElement> for EventTarget

Source§

fn from(obj: HtmlParagraphElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlParamElement> for EventTarget

Source§

fn from(obj: HtmlParamElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlPictureElement> for EventTarget

Source§

fn from(obj: HtmlPictureElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlPreElement> for EventTarget

Source§

fn from(obj: HtmlPreElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlProgressElement> for EventTarget

Source§

fn from(obj: HtmlProgressElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlQuoteElement> for EventTarget

Source§

fn from(obj: HtmlQuoteElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlScriptElement> for EventTarget

Source§

fn from(obj: HtmlScriptElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlSelectElement> for EventTarget

Source§

fn from(obj: HtmlSelectElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlSlotElement> for EventTarget

Source§

fn from(obj: HtmlSlotElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlSourceElement> for EventTarget

Source§

fn from(obj: HtmlSourceElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlSpanElement> for EventTarget

Source§

fn from(obj: HtmlSpanElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlStyleElement> for EventTarget

Source§

fn from(obj: HtmlStyleElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlTableCaptionElement> for EventTarget

Source§

fn from(obj: HtmlTableCaptionElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlTableCellElement> for EventTarget

Source§

fn from(obj: HtmlTableCellElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlTableColElement> for EventTarget

Source§

fn from(obj: HtmlTableColElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlTableElement> for EventTarget

Source§

fn from(obj: HtmlTableElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlTableRowElement> for EventTarget

Source§

fn from(obj: HtmlTableRowElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlTableSectionElement> for EventTarget

Source§

fn from(obj: HtmlTableSectionElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlTemplateElement> for EventTarget

Source§

fn from(obj: HtmlTemplateElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlTextAreaElement> for EventTarget

Source§

fn from(obj: HtmlTextAreaElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlTimeElement> for EventTarget

Source§

fn from(obj: HtmlTimeElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlTitleElement> for EventTarget

Source§

fn from(obj: HtmlTitleElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlTrackElement> for EventTarget

Source§

fn from(obj: HtmlTrackElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlUListElement> for EventTarget

Source§

fn from(obj: HtmlUListElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlUnknownElement> for EventTarget

Source§

fn from(obj: HtmlUnknownElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<HtmlVideoElement> for EventTarget

Source§

fn from(obj: HtmlVideoElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<IdbDatabase> for EventTarget

Source§

fn from(obj: IdbDatabase) -> EventTarget

Converts to this type from the input type.
Source§

impl From<IdbFileHandle> for EventTarget

Source§

fn from(obj: IdbFileHandle) -> EventTarget

Converts to this type from the input type.
Source§

impl From<IdbFileRequest> for EventTarget

Source§

fn from(obj: IdbFileRequest) -> EventTarget

Converts to this type from the input type.
Source§

impl From<IdbMutableFile> for EventTarget

Source§

fn from(obj: IdbMutableFile) -> EventTarget

Converts to this type from the input type.
Source§

impl From<IdbOpenDbRequest> for EventTarget

Source§

fn from(obj: IdbOpenDbRequest) -> EventTarget

Converts to this type from the input type.
Source§

impl From<IdbRequest> for EventTarget

Source§

fn from(obj: IdbRequest) -> EventTarget

Converts to this type from the input type.
Source§

impl From<IdbTransaction> for EventTarget

Source§

fn from(obj: IdbTransaction) -> EventTarget

Converts to this type from the input type.
Source§

impl From<IirFilterNode> for EventTarget

Source§

fn from(obj: IirFilterNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ImageTrack> for EventTarget

Source§

fn from(obj: ImageTrack) -> EventTarget

Converts to this type from the input type.
Source§

impl From<JsValue> for EventTarget

Source§

fn from(obj: JsValue) -> EventTarget

Converts to this type from the input type.
Source§

impl From<LocalMediaStream> for EventTarget

Source§

fn from(obj: LocalMediaStream) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MathMlElement> for EventTarget

Source§

fn from(obj: MathMlElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MediaDevices> for EventTarget

Source§

fn from(obj: MediaDevices) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MediaElementAudioSourceNode> for EventTarget

Source§

fn from(obj: MediaElementAudioSourceNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MediaKeySession> for EventTarget

Source§

fn from(obj: MediaKeySession) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MediaQueryList> for EventTarget

Source§

fn from(obj: MediaQueryList) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MediaRecorder> for EventTarget

Source§

fn from(obj: MediaRecorder) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MediaSource> for EventTarget

Source§

fn from(obj: MediaSource) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MediaStream> for EventTarget

Source§

fn from(obj: MediaStream) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MediaStreamAudioDestinationNode> for EventTarget

Source§

fn from(obj: MediaStreamAudioDestinationNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MediaStreamAudioSourceNode> for EventTarget

Source§

fn from(obj: MediaStreamAudioSourceNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MediaStreamTrack> for EventTarget

Source§

fn from(obj: MediaStreamTrack) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MediaStreamTrackGenerator> for EventTarget

Source§

fn from(obj: MediaStreamTrackGenerator) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MessagePort> for EventTarget

Source§

fn from(obj: MessagePort) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MidiAccess> for EventTarget

Source§

fn from(obj: MidiAccess) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MidiInput> for EventTarget

Source§

fn from(obj: MidiInput) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MidiOutput> for EventTarget

Source§

fn from(obj: MidiOutput) -> EventTarget

Converts to this type from the input type.
Source§

impl From<MidiPort> for EventTarget

Source§

fn from(obj: MidiPort) -> EventTarget

Converts to this type from the input type.
Source§

impl From<NetworkInformation> for EventTarget

Source§

fn from(obj: NetworkInformation) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Node> for EventTarget

Source§

fn from(obj: Node) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Notification> for EventTarget

Source§

fn from(obj: Notification) -> EventTarget

Converts to this type from the input type.
Source§

impl From<OfflineAudioContext> for EventTarget

Source§

fn from(obj: OfflineAudioContext) -> EventTarget

Converts to this type from the input type.
Source§

impl From<OfflineResourceList> for EventTarget

Source§

fn from(obj: OfflineResourceList) -> EventTarget

Converts to this type from the input type.
Source§

impl From<OffscreenCanvas> for EventTarget

Source§

fn from(obj: OffscreenCanvas) -> EventTarget

Converts to this type from the input type.
Source§

impl From<OscillatorNode> for EventTarget

Source§

fn from(obj: OscillatorNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<PannerNode> for EventTarget

Source§

fn from(obj: PannerNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Performance> for EventTarget

Source§

fn from(obj: Performance) -> EventTarget

Converts to this type from the input type.
Source§

impl From<PermissionStatus> for EventTarget

Source§

fn from(obj: PermissionStatus) -> EventTarget

Converts to this type from the input type.
Source§

impl From<PresentationAvailability> for EventTarget

Source§

fn from(obj: PresentationAvailability) -> EventTarget

Converts to this type from the input type.
Source§

impl From<PresentationConnection> for EventTarget

Source§

fn from(obj: PresentationConnection) -> EventTarget

Converts to this type from the input type.
Source§

impl From<PresentationConnectionList> for EventTarget

Source§

fn from(obj: PresentationConnectionList) -> EventTarget

Converts to this type from the input type.
Source§

impl From<PresentationRequest> for EventTarget

Source§

fn from(obj: PresentationRequest) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ProcessingInstruction> for EventTarget

Source§

fn from(obj: ProcessingInstruction) -> EventTarget

Converts to this type from the input type.
Source§

impl From<RtcDataChannel> for EventTarget

Source§

fn from(obj: RtcDataChannel) -> EventTarget

Converts to this type from the input type.
Source§

impl From<RtcPeerConnection> for EventTarget

Source§

fn from(obj: RtcPeerConnection) -> EventTarget

Converts to this type from the input type.
Source§

impl From<RtcRtpScriptTransformer> for EventTarget

Source§

fn from(obj: RtcRtpScriptTransformer) -> EventTarget

Converts to this type from the input type.
Source§

impl From<RtcdtmfSender> for EventTarget

Source§

fn from(obj: RtcdtmfSender) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SFrameTransform> for EventTarget

Source§

fn from(obj: SFrameTransform) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Screen> for EventTarget

Source§

fn from(obj: Screen) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ScreenOrientation> for EventTarget

Source§

fn from(obj: ScreenOrientation) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ScriptProcessorNode> for EventTarget

Source§

fn from(obj: ScriptProcessorNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Serial> for EventTarget

Source§

fn from(obj: Serial) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SerialPort> for EventTarget

Source§

fn from(obj: SerialPort) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ServiceWorker> for EventTarget

Source§

fn from(obj: ServiceWorker) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ServiceWorkerContainer> for EventTarget

Source§

fn from(obj: ServiceWorkerContainer) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ServiceWorkerGlobalScope> for EventTarget

Source§

fn from(obj: ServiceWorkerGlobalScope) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ServiceWorkerRegistration> for EventTarget

Source§

fn from(obj: ServiceWorkerRegistration) -> EventTarget

Converts to this type from the input type.
Source§

impl From<ShadowRoot> for EventTarget

Source§

fn from(obj: ShadowRoot) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SharedWorker> for EventTarget

Source§

fn from(obj: SharedWorker) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SharedWorkerGlobalScope> for EventTarget

Source§

fn from(obj: SharedWorkerGlobalScope) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SourceBuffer> for EventTarget

Source§

fn from(obj: SourceBuffer) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SourceBufferList> for EventTarget

Source§

fn from(obj: SourceBufferList) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SpeechRecognition> for EventTarget

Source§

fn from(obj: SpeechRecognition) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SpeechSynthesis> for EventTarget

Source§

fn from(obj: SpeechSynthesis) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SpeechSynthesisUtterance> for EventTarget

Source§

fn from(obj: SpeechSynthesisUtterance) -> EventTarget

Converts to this type from the input type.
Source§

impl From<StereoPannerNode> for EventTarget

Source§

fn from(obj: StereoPannerNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgAnimateElement> for EventTarget

Source§

fn from(obj: SvgAnimateElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgAnimateMotionElement> for EventTarget

Source§

fn from(obj: SvgAnimateMotionElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgAnimateTransformElement> for EventTarget

Source§

fn from(obj: SvgAnimateTransformElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgAnimationElement> for EventTarget

Source§

fn from(obj: SvgAnimationElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgCircleElement> for EventTarget

Source§

fn from(obj: SvgCircleElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgClipPathElement> for EventTarget

Source§

fn from(obj: SvgClipPathElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgComponentTransferFunctionElement> for EventTarget

Source§

fn from(obj: SvgComponentTransferFunctionElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgDefsElement> for EventTarget

Source§

fn from(obj: SvgDefsElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgDescElement> for EventTarget

Source§

fn from(obj: SvgDescElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgElement> for EventTarget

Source§

fn from(obj: SvgElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgEllipseElement> for EventTarget

Source§

fn from(obj: SvgEllipseElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgFilterElement> for EventTarget

Source§

fn from(obj: SvgFilterElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgForeignObjectElement> for EventTarget

Source§

fn from(obj: SvgForeignObjectElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgGeometryElement> for EventTarget

Source§

fn from(obj: SvgGeometryElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgGradientElement> for EventTarget

Source§

fn from(obj: SvgGradientElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgGraphicsElement> for EventTarget

Source§

fn from(obj: SvgGraphicsElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgImageElement> for EventTarget

Source§

fn from(obj: SvgImageElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgLineElement> for EventTarget

Source§

fn from(obj: SvgLineElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgLinearGradientElement> for EventTarget

Source§

fn from(obj: SvgLinearGradientElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgMarkerElement> for EventTarget

Source§

fn from(obj: SvgMarkerElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgMaskElement> for EventTarget

Source§

fn from(obj: SvgMaskElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgMetadataElement> for EventTarget

Source§

fn from(obj: SvgMetadataElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgPathElement> for EventTarget

Source§

fn from(obj: SvgPathElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgPatternElement> for EventTarget

Source§

fn from(obj: SvgPatternElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgPolygonElement> for EventTarget

Source§

fn from(obj: SvgPolygonElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgPolylineElement> for EventTarget

Source§

fn from(obj: SvgPolylineElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgRadialGradientElement> for EventTarget

Source§

fn from(obj: SvgRadialGradientElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgRectElement> for EventTarget

Source§

fn from(obj: SvgRectElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgScriptElement> for EventTarget

Source§

fn from(obj: SvgScriptElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgSetElement> for EventTarget

Source§

fn from(obj: SvgSetElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgStopElement> for EventTarget

Source§

fn from(obj: SvgStopElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgStyleElement> for EventTarget

Source§

fn from(obj: SvgStyleElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgSwitchElement> for EventTarget

Source§

fn from(obj: SvgSwitchElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgSymbolElement> for EventTarget

Source§

fn from(obj: SvgSymbolElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgTextContentElement> for EventTarget

Source§

fn from(obj: SvgTextContentElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgTextElement> for EventTarget

Source§

fn from(obj: SvgTextElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgTextPathElement> for EventTarget

Source§

fn from(obj: SvgTextPathElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgTextPositioningElement> for EventTarget

Source§

fn from(obj: SvgTextPositioningElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgTitleElement> for EventTarget

Source§

fn from(obj: SvgTitleElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgUseElement> for EventTarget

Source§

fn from(obj: SvgUseElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgViewElement> for EventTarget

Source§

fn from(obj: SvgViewElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgaElement> for EventTarget

Source§

fn from(obj: SvgaElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeBlendElement> for EventTarget

Source§

fn from(obj: SvgfeBlendElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeColorMatrixElement> for EventTarget

Source§

fn from(obj: SvgfeColorMatrixElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeComponentTransferElement> for EventTarget

Source§

fn from(obj: SvgfeComponentTransferElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeCompositeElement> for EventTarget

Source§

fn from(obj: SvgfeCompositeElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeConvolveMatrixElement> for EventTarget

Source§

fn from(obj: SvgfeConvolveMatrixElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeDiffuseLightingElement> for EventTarget

Source§

fn from(obj: SvgfeDiffuseLightingElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeDisplacementMapElement> for EventTarget

Source§

fn from(obj: SvgfeDisplacementMapElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeDistantLightElement> for EventTarget

Source§

fn from(obj: SvgfeDistantLightElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeDropShadowElement> for EventTarget

Source§

fn from(obj: SvgfeDropShadowElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeFloodElement> for EventTarget

Source§

fn from(obj: SvgfeFloodElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeFuncAElement> for EventTarget

Source§

fn from(obj: SvgfeFuncAElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeFuncBElement> for EventTarget

Source§

fn from(obj: SvgfeFuncBElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeFuncGElement> for EventTarget

Source§

fn from(obj: SvgfeFuncGElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeFuncRElement> for EventTarget

Source§

fn from(obj: SvgfeFuncRElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeGaussianBlurElement> for EventTarget

Source§

fn from(obj: SvgfeGaussianBlurElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeImageElement> for EventTarget

Source§

fn from(obj: SvgfeImageElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeMergeElement> for EventTarget

Source§

fn from(obj: SvgfeMergeElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeMergeNodeElement> for EventTarget

Source§

fn from(obj: SvgfeMergeNodeElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeMorphologyElement> for EventTarget

Source§

fn from(obj: SvgfeMorphologyElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeOffsetElement> for EventTarget

Source§

fn from(obj: SvgfeOffsetElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfePointLightElement> for EventTarget

Source§

fn from(obj: SvgfePointLightElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeSpecularLightingElement> for EventTarget

Source§

fn from(obj: SvgfeSpecularLightingElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeSpotLightElement> for EventTarget

Source§

fn from(obj: SvgfeSpotLightElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeTileElement> for EventTarget

Source§

fn from(obj: SvgfeTileElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgfeTurbulenceElement> for EventTarget

Source§

fn from(obj: SvgfeTurbulenceElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvggElement> for EventTarget

Source§

fn from(obj: SvggElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgmPathElement> for EventTarget

Source§

fn from(obj: SvgmPathElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgsvgElement> for EventTarget

Source§

fn from(obj: SvgsvgElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<SvgtSpanElement> for EventTarget

Source§

fn from(obj: SvgtSpanElement) -> EventTarget

Converts to this type from the input type.
Source§

impl From<TaskSignal> for EventTarget

Source§

fn from(obj: TaskSignal) -> EventTarget

Converts to this type from the input type.
Source§

impl From<TcpServerSocket> for EventTarget

Source§

fn from(obj: TcpServerSocket) -> EventTarget

Converts to this type from the input type.
Source§

impl From<TcpSocket> for EventTarget

Source§

fn from(obj: TcpSocket) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Text> for EventTarget

Source§

fn from(obj: Text) -> EventTarget

Converts to this type from the input type.
Source§

impl From<TextTrack> for EventTarget

Source§

fn from(obj: TextTrack) -> EventTarget

Converts to this type from the input type.
Source§

impl From<TextTrackCue> for EventTarget

Source§

fn from(obj: TextTrackCue) -> EventTarget

Converts to this type from the input type.
Source§

impl From<TextTrackList> for EventTarget

Source§

fn from(obj: TextTrackList) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Usb> for EventTarget

Source§

fn from(obj: Usb) -> EventTarget

Converts to this type from the input type.
Source§

impl From<UsbPermissionResult> for EventTarget

Source§

fn from(obj: UsbPermissionResult) -> EventTarget

Converts to this type from the input type.
Source§

impl From<VideoStreamTrack> for EventTarget

Source§

fn from(obj: VideoStreamTrack) -> EventTarget

Converts to this type from the input type.
Source§

impl From<VideoTrackList> for EventTarget

Source§

fn from(obj: VideoTrackList) -> EventTarget

Converts to this type from the input type.
Source§

impl From<VisualViewport> for EventTarget

Source§

fn from(obj: VisualViewport) -> EventTarget

Converts to this type from the input type.
Source§

impl From<VrDisplay> for EventTarget

Source§

fn from(obj: VrDisplay) -> EventTarget

Converts to this type from the input type.
Source§

impl From<VttCue> for EventTarget

Source§

fn from(obj: VttCue) -> EventTarget

Converts to this type from the input type.
Source§

impl From<WakeLockSentinel> for EventTarget

Source§

fn from(obj: WakeLockSentinel) -> EventTarget

Converts to this type from the input type.
Source§

impl From<WaveShaperNode> for EventTarget

Source§

fn from(obj: WaveShaperNode) -> EventTarget

Converts to this type from the input type.
Source§

impl From<WebSocket> for EventTarget

Source§

fn from(obj: WebSocket) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Window> for EventTarget

Source§

fn from(obj: Window) -> EventTarget

Converts to this type from the input type.
Source§

impl From<Worker> for EventTarget

Source§

fn from(obj: Worker) -> EventTarget

Converts to this type from the input type.
Source§

impl From<WorkerDebuggerGlobalScope> for EventTarget

Source§

fn from(obj: WorkerDebuggerGlobalScope) -> EventTarget

Converts to this type from the input type.
Source§

impl From<WorkerGlobalScope> for EventTarget

Source§

fn from(obj: WorkerGlobalScope) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XmlDocument> for EventTarget

Source§

fn from(obj: XmlDocument) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XmlHttpRequest> for EventTarget

Source§

fn from(obj: XmlHttpRequest) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XmlHttpRequestEventTarget> for EventTarget

Source§

fn from(obj: XmlHttpRequestEventTarget) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XmlHttpRequestUpload> for EventTarget

Source§

fn from(obj: XmlHttpRequestUpload) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XrBoundedReferenceSpace> for EventTarget

Source§

fn from(obj: XrBoundedReferenceSpace) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XrJointSpace> for EventTarget

Source§

fn from(obj: XrJointSpace) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XrLayer> for EventTarget

Source§

fn from(obj: XrLayer) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XrPermissionStatus> for EventTarget

Source§

fn from(obj: XrPermissionStatus) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XrReferenceSpace> for EventTarget

Source§

fn from(obj: XrReferenceSpace) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XrSession> for EventTarget

Source§

fn from(obj: XrSession) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XrSpace> for EventTarget

Source§

fn from(obj: XrSpace) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XrSystem> for EventTarget

Source§

fn from(obj: XrSystem) -> EventTarget

Converts to this type from the input type.
Source§

impl From<XrWebGlLayer> for EventTarget

Source§

fn from(obj: XrWebGlLayer) -> EventTarget

Converts to this type from the input type.
Source§

impl FromWasmAbi for EventTarget

Source§

type Abi = <JsValue as FromWasmAbi>::Abi

The Wasm ABI type that this converts from when coming back out from the ABI boundary.
Source§

unsafe fn from_abi(js: Self::Abi) -> Self

Recover a Self from Self::Abi. Read more
Source§

impl<'a> IntoWasmAbi for &'a EventTarget

Source§

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The Wasm ABI type that this converts into when crossing the ABI boundary.
Source§

fn into_abi(self) -> Self::Abi

Convert self into Self::Abi so that it can be sent across the wasm ABI boundary.
Source§

impl IntoWasmAbi for EventTarget

Source§

type Abi = <JsValue as IntoWasmAbi>::Abi

The Wasm ABI type that this converts into when crossing the ABI boundary.
Source§

fn into_abi(self) -> Self::Abi

Convert self into Self::Abi so that it can be sent across the wasm ABI boundary.
Source§

impl JsCast for EventTarget

Source§

fn instanceof(val: &JsValue) -> bool

Performs a dynamic instanceof check to see whether the JsValue provided is an instance of this type. Read more
Source§

fn unchecked_from_js(val: JsValue) -> Self

Performs a zero-cost unchecked conversion from a JsValue into an instance of Self Read more
Source§

fn unchecked_from_js_ref(val: &JsValue) -> &Self

Performs a zero-cost unchecked conversion from a &JsValue into an instance of &Self. Read more
Source§

fn has_type<T>(&self) -> bool
where T: JsCast,

Test whether this JS value has a type T. Read more
Source§

fn dyn_into<T>(self) -> Result<T, Self>
where T: JsCast,

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

fn dyn_ref<T>(&self) -> Option<&T>
where T: JsCast,

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

fn unchecked_into<T>(self) -> T
where T: JsCast,

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

fn unchecked_ref<T>(&self) -> &T
where T: JsCast,

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

fn is_instance_of<T>(&self) -> bool
where T: JsCast,

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

fn is_type_of(val: &JsValue) -> bool

Performs a dynamic check to see whether the JsValue provided is a value of this type. Read more
Source§

impl LongRefFromWasmAbi for EventTarget

Source§

type Abi = <JsValue as LongRefFromWasmAbi>::Abi

Same as RefFromWasmAbi::Abi
Source§

type Anchor = EventTarget

Same as RefFromWasmAbi::Anchor
Source§

unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor

Same as RefFromWasmAbi::ref_from_abi
Source§

impl OptionFromWasmAbi for EventTarget

Source§

fn is_none(abi: &Self::Abi) -> bool

Tests whether the argument is a “none” instance. If so it will be deserialized as None, and otherwise it will be passed to FromWasmAbi.
Source§

impl<'a> OptionIntoWasmAbi for &'a EventTarget

Source§

fn none() -> Self::Abi

Returns an ABI instance indicating “none”, which JS will interpret as the None branch of this option. Read more
Source§

impl OptionIntoWasmAbi for EventTarget

Source§

fn none() -> Self::Abi

Returns an ABI instance indicating “none”, which JS will interpret as the None branch of this option. Read more
Source§

impl PartialEq for EventTarget

Source§

fn eq(&self, other: &EventTarget) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl RefFromWasmAbi for EventTarget

Source§

type Abi = <JsValue as RefFromWasmAbi>::Abi

The Wasm ABI type references to Self are recovered from.
Source§

type Anchor = ManuallyDrop<EventTarget>

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

unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor

Recover a Self::Anchor from Self::Abi. Read more
Source§

impl WasmDescribe for EventTarget

Source§

impl Eq for EventTarget

Source§

impl StructuralPartialEq for EventTarget

Auto Trait Implementations§