Struct web_sys::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 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 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 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

§

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<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<RtcdtmfSender> for EventTarget

source§

fn from(obj: RtcdtmfSender) -> 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

§

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

§

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

§

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

§

type Abi = <JsValue as LongRefFromWasmAbi>::Abi

Same as RefFromWasmAbi::Abi
§

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

§

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.
§

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§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ReturnWasmAbi for T
where T: IntoWasmAbi,

§

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi
source§

fn return_abi(self) -> <T as ReturnWasmAbi>::Abi

Same as IntoWasmAbi::into_abi, except that it may throw and never return in the case of Err.
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> VectorFromWasmAbi for T
where T: JsObject,

source§

impl<T> VectorIntoWasmAbi for T
where T: JsObject,