Struct Reference

Source
#[repr(C)]
pub struct Reference(/* private fields */);
Expand description

A type representing a reference to a JavaScript value.

Implementations§

Source§

impl Reference

Source

pub fn downcast<T: ReferenceType>(self) -> Option<T>

Converts this reference into the given type T; checks whenever the reference is really of type T and returns None if it’s not.

Trait Implementations§

Source§

impl AsRef<Reference> for AbortError

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Array

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ArrayBuffer

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for AuxClickEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for BeforeUnloadEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Blob

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for BlurEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for CanvasElement

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for CanvasGradient

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for CanvasPattern

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for CanvasRenderingContext2d

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ChangeEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ClickEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ContextMenuEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DataTransfer

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DataTransferItem

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DataTransferItemList

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Date

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Document

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DocumentFragment

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DomException

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DoubleClickEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DragDropEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DragEndEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DragEnterEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DragEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DragExitEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DragLeaveEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DragOverEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DragRelatedEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for DragStartEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Element

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Error

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for EventTarget

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for File

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for FileList

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for FileReader

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for FocusEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for FormData

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for FullscreenChangeEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Gamepad

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for GamepadButton

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for GamepadConnectedEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for GamepadDisconnectedEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for GotPointerCaptureEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for HashChangeEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for HierarchyRequestError

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for History

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for HtmlCollection

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for HtmlElement

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ImageData

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ImageElement

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for IndexSizeError

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for InputElement

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for InputEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for InvalidAccessError

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for InvalidCharacterError

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for InvalidStateError

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for KeyDownEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for KeyPressEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for KeyUpEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for LoadEndEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for LoadStartEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Location

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for LostPointerCaptureEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for MouseDownEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for MouseEnterEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for MouseLeaveEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for MouseMoveEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for MouseOutEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for MouseOverEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for MouseUpEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for MouseWheelEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for MutationObserver

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Node

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for NodeList

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for NotFoundError

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for NotSupportedError

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Object

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for OptionElement

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for PointerCancelEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for PointerDownEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for PointerEnterEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for PointerLeaveEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for PointerLockChangeEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for PointerLockErrorEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for PointerMoveEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for PointerOutEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for PointerOverEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for PointerUpEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for PopStateEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ProgressAbortEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ProgressErrorEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ProgressEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ProgressLoadEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ReadyStateChangeEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Rect

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Reference

Source§

fn as_ref(&self) -> &Self

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

impl AsRef<Reference> for ResizeEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ResourceAbortEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ResourceErrorEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ResourceLoadEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ScrollEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for SecurityError

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for SelectElement

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Selection

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for SelectionChangeEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for ShadowRoot

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for SlotChangeEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for SlotElement

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for SocketCloseEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for SocketErrorEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for SocketMessageEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for SocketOpenEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Storage

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for StringMap

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for SubmitEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for SyntaxError

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TemplateElement

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TextAreaElement

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TextMetrics

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TextNode

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TokenList

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Touch

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TouchCancel

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TouchEnd

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TouchEnter

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TouchEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TouchLeave

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TouchMove

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TouchStart

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for TypeError

Source§

fn as_ref(&self) -> &Reference

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

impl<T: ArrayKind> AsRef<Reference> for TypedArray<T>

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for UnloadEvent

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for WebSocket

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for Window

Source§

fn as_ref(&self) -> &Reference

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

impl AsRef<Reference> for XmlHttpRequest

Source§

fn as_ref(&self) -> &Reference

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

impl Clone for Reference

Source§

fn clone(&self) -> Self

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 Reference

Source§

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

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

impl Drop for Reference

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl<'a> From<&'a Reference> for Value

Source§

fn from(value: &'a Reference) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<&'a mut Reference> for Value

Source§

fn from(value: &'a mut Reference) -> Self

Converts to this type from the input type.
Source§

impl From<AbortError> for Reference

Source§

fn from(value: AbortError) -> Self

Converts to this type from the input type.
Source§

impl From<Array> for Reference

Source§

fn from(value: Array) -> Self

Converts to this type from the input type.
Source§

impl From<ArrayBuffer> for Reference

Source§

fn from(value: ArrayBuffer) -> Self

Converts to this type from the input type.
Source§

impl From<AuxClickEvent> for Reference

Source§

fn from(value: AuxClickEvent) -> Self

Converts to this type from the input type.
Source§

impl From<BeforeUnloadEvent> for Reference

Source§

fn from(value: BeforeUnloadEvent) -> Self

Converts to this type from the input type.
Source§

impl From<Blob> for Reference

Source§

fn from(value: Blob) -> Self

Converts to this type from the input type.
Source§

impl From<BlurEvent> for Reference

Source§

fn from(value: BlurEvent) -> Self

Converts to this type from the input type.
Source§

impl From<CanvasElement> for Reference

Source§

fn from(value: CanvasElement) -> Self

Converts to this type from the input type.
Source§

impl From<CanvasGradient> for Reference

Source§

fn from(value: CanvasGradient) -> Self

Converts to this type from the input type.
Source§

impl From<CanvasPattern> for Reference

Source§

fn from(value: CanvasPattern) -> Self

Converts to this type from the input type.
Source§

impl From<CanvasRenderingContext2d> for Reference

Source§

fn from(value: CanvasRenderingContext2d) -> Self

Converts to this type from the input type.
Source§

impl From<ChangeEvent> for Reference

Source§

fn from(value: ChangeEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ClickEvent> for Reference

Source§

fn from(value: ClickEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ContextMenuEvent> for Reference

Source§

fn from(value: ContextMenuEvent) -> Self

Converts to this type from the input type.
Source§

impl From<DataTransfer> for Reference

Source§

fn from(value: DataTransfer) -> Self

Converts to this type from the input type.
Source§

impl From<DataTransferItem> for Reference

Source§

fn from(value: DataTransferItem) -> Self

Converts to this type from the input type.
Source§

impl From<DataTransferItemList> for Reference

Source§

fn from(value: DataTransferItemList) -> Self

Converts to this type from the input type.
Source§

impl From<Date> for Reference

Source§

fn from(value: Date) -> Self

Converts to this type from the input type.
Source§

impl From<Document> for Reference

Source§

fn from(value: Document) -> Self

Converts to this type from the input type.
Source§

impl From<DocumentFragment> for Reference

Source§

fn from(value: DocumentFragment) -> Self

Converts to this type from the input type.
Source§

impl From<DomException> for Reference

Source§

fn from(value: DomException) -> Self

Converts to this type from the input type.
Source§

impl From<DoubleClickEvent> for Reference

Source§

fn from(value: DoubleClickEvent) -> Self

Converts to this type from the input type.
Source§

impl From<DragDropEvent> for Reference

Source§

fn from(value: DragDropEvent) -> Self

Converts to this type from the input type.
Source§

impl From<DragEndEvent> for Reference

Source§

fn from(value: DragEndEvent) -> Self

Converts to this type from the input type.
Source§

impl From<DragEnterEvent> for Reference

Source§

fn from(value: DragEnterEvent) -> Self

Converts to this type from the input type.
Source§

impl From<DragEvent> for Reference

Source§

fn from(value: DragEvent) -> Self

Converts to this type from the input type.
Source§

impl From<DragExitEvent> for Reference

Source§

fn from(value: DragExitEvent) -> Self

Converts to this type from the input type.
Source§

impl From<DragLeaveEvent> for Reference

Source§

fn from(value: DragLeaveEvent) -> Self

Converts to this type from the input type.
Source§

impl From<DragOverEvent> for Reference

Source§

fn from(value: DragOverEvent) -> Self

Converts to this type from the input type.
Source§

impl From<DragRelatedEvent> for Reference

Source§

fn from(value: DragRelatedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<DragStartEvent> for Reference

Source§

fn from(value: DragStartEvent) -> Self

Converts to this type from the input type.
Source§

impl From<Element> for Reference

Source§

fn from(value: Element) -> Self

Converts to this type from the input type.
Source§

impl From<Error> for Reference

Source§

fn from(value: Error) -> Self

Converts to this type from the input type.
Source§

impl From<EventTarget> for Reference

Source§

fn from(value: EventTarget) -> Self

Converts to this type from the input type.
Source§

impl From<File> for Reference

Source§

fn from(value: File) -> Self

Converts to this type from the input type.
Source§

impl From<FileList> for Reference

Source§

fn from(value: FileList) -> Self

Converts to this type from the input type.
Source§

impl From<FileReader> for Reference

Source§

fn from(value: FileReader) -> Self

Converts to this type from the input type.
Source§

impl From<FocusEvent> for Reference

Source§

fn from(value: FocusEvent) -> Self

Converts to this type from the input type.
Source§

impl From<FormData> for Reference

Source§

fn from(value: FormData) -> Self

Converts to this type from the input type.
Source§

impl From<FullscreenChangeEvent> for Reference

Source§

fn from(value: FullscreenChangeEvent) -> Self

Converts to this type from the input type.
Source§

impl From<Gamepad> for Reference

Source§

fn from(value: Gamepad) -> Self

Converts to this type from the input type.
Source§

impl From<GamepadButton> for Reference

Source§

fn from(value: GamepadButton) -> Self

Converts to this type from the input type.
Source§

impl From<GamepadConnectedEvent> for Reference

Source§

fn from(value: GamepadConnectedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<GamepadDisconnectedEvent> for Reference

Source§

fn from(value: GamepadDisconnectedEvent) -> Self

Converts to this type from the input type.
Source§

impl From<GotPointerCaptureEvent> for Reference

Source§

fn from(value: GotPointerCaptureEvent) -> Self

Converts to this type from the input type.
Source§

impl From<HashChangeEvent> for Reference

Source§

fn from(value: HashChangeEvent) -> Self

Converts to this type from the input type.
Source§

impl From<HierarchyRequestError> for Reference

Source§

fn from(value: HierarchyRequestError) -> Self

Converts to this type from the input type.
Source§

impl From<History> for Reference

Source§

fn from(value: History) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlCollection> for Reference

Source§

fn from(value: HtmlCollection) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlElement> for Reference

Source§

fn from(value: HtmlElement) -> Self

Converts to this type from the input type.
Source§

impl From<ImageData> for Reference

Source§

fn from(value: ImageData) -> Self

Converts to this type from the input type.
Source§

impl From<ImageElement> for Reference

Source§

fn from(value: ImageElement) -> Self

Converts to this type from the input type.
Source§

impl From<IndexSizeError> for Reference

Source§

fn from(value: IndexSizeError) -> Self

Converts to this type from the input type.
Source§

impl From<InputElement> for Reference

Source§

fn from(value: InputElement) -> Self

Converts to this type from the input type.
Source§

impl From<InputEvent> for Reference

Source§

fn from(value: InputEvent) -> Self

Converts to this type from the input type.
Source§

impl From<InvalidAccessError> for Reference

Source§

fn from(value: InvalidAccessError) -> Self

Converts to this type from the input type.
Source§

impl From<InvalidCharacterError> for Reference

Source§

fn from(value: InvalidCharacterError) -> Self

Converts to this type from the input type.
Source§

impl From<InvalidStateError> for Reference

Source§

fn from(value: InvalidStateError) -> Self

Converts to this type from the input type.
Source§

impl From<KeyDownEvent> for Reference

Source§

fn from(value: KeyDownEvent) -> Self

Converts to this type from the input type.
Source§

impl From<KeyPressEvent> for Reference

Source§

fn from(value: KeyPressEvent) -> Self

Converts to this type from the input type.
Source§

impl From<KeyUpEvent> for Reference

Source§

fn from(value: KeyUpEvent) -> Self

Converts to this type from the input type.
Source§

impl From<LoadEndEvent> for Reference

Source§

fn from(value: LoadEndEvent) -> Self

Converts to this type from the input type.
Source§

impl From<LoadStartEvent> for Reference

Source§

fn from(value: LoadStartEvent) -> Self

Converts to this type from the input type.
Source§

impl From<Location> for Reference

Source§

fn from(value: Location) -> Self

Converts to this type from the input type.
Source§

impl From<LostPointerCaptureEvent> for Reference

Source§

fn from(value: LostPointerCaptureEvent) -> Self

Converts to this type from the input type.
Source§

impl From<MouseDownEvent> for Reference

Source§

fn from(value: MouseDownEvent) -> Self

Converts to this type from the input type.
Source§

impl From<MouseEnterEvent> for Reference

Source§

fn from(value: MouseEnterEvent) -> Self

Converts to this type from the input type.
Source§

impl From<MouseLeaveEvent> for Reference

Source§

fn from(value: MouseLeaveEvent) -> Self

Converts to this type from the input type.
Source§

impl From<MouseMoveEvent> for Reference

Source§

fn from(value: MouseMoveEvent) -> Self

Converts to this type from the input type.
Source§

impl From<MouseOutEvent> for Reference

Source§

fn from(value: MouseOutEvent) -> Self

Converts to this type from the input type.
Source§

impl From<MouseOverEvent> for Reference

Source§

fn from(value: MouseOverEvent) -> Self

Converts to this type from the input type.
Source§

impl From<MouseUpEvent> for Reference

Source§

fn from(value: MouseUpEvent) -> Self

Converts to this type from the input type.
Source§

impl From<MouseWheelEvent> for Reference

Source§

fn from(value: MouseWheelEvent) -> Self

Converts to this type from the input type.
Source§

impl From<MutationObserver> for Reference

Source§

fn from(value: MutationObserver) -> Self

Converts to this type from the input type.
Source§

impl From<Node> for Reference

Source§

fn from(value: Node) -> Self

Converts to this type from the input type.
Source§

impl From<NodeList> for Reference

Source§

fn from(value: NodeList) -> Self

Converts to this type from the input type.
Source§

impl From<NotFoundError> for Reference

Source§

fn from(value: NotFoundError) -> Self

Converts to this type from the input type.
Source§

impl From<NotSupportedError> for Reference

Source§

fn from(value: NotSupportedError) -> Self

Converts to this type from the input type.
Source§

impl From<Object> for Reference

Source§

fn from(value: Object) -> Self

Converts to this type from the input type.
Source§

impl From<OptionElement> for Reference

Source§

fn from(value: OptionElement) -> Self

Converts to this type from the input type.
Source§

impl From<PointerCancelEvent> for Reference

Source§

fn from(value: PointerCancelEvent) -> Self

Converts to this type from the input type.
Source§

impl From<PointerDownEvent> for Reference

Source§

fn from(value: PointerDownEvent) -> Self

Converts to this type from the input type.
Source§

impl From<PointerEnterEvent> for Reference

Source§

fn from(value: PointerEnterEvent) -> Self

Converts to this type from the input type.
Source§

impl From<PointerLeaveEvent> for Reference

Source§

fn from(value: PointerLeaveEvent) -> Self

Converts to this type from the input type.
Source§

impl From<PointerLockChangeEvent> for Reference

Source§

fn from(value: PointerLockChangeEvent) -> Self

Converts to this type from the input type.
Source§

impl From<PointerLockErrorEvent> for Reference

Source§

fn from(value: PointerLockErrorEvent) -> Self

Converts to this type from the input type.
Source§

impl From<PointerMoveEvent> for Reference

Source§

fn from(value: PointerMoveEvent) -> Self

Converts to this type from the input type.
Source§

impl From<PointerOutEvent> for Reference

Source§

fn from(value: PointerOutEvent) -> Self

Converts to this type from the input type.
Source§

impl From<PointerOverEvent> for Reference

Source§

fn from(value: PointerOverEvent) -> Self

Converts to this type from the input type.
Source§

impl From<PointerUpEvent> for Reference

Source§

fn from(value: PointerUpEvent) -> Self

Converts to this type from the input type.
Source§

impl From<PopStateEvent> for Reference

Source§

fn from(value: PopStateEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ProgressAbortEvent> for Reference

Source§

fn from(value: ProgressAbortEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ProgressErrorEvent> for Reference

Source§

fn from(value: ProgressErrorEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ProgressEvent> for Reference

Source§

fn from(value: ProgressEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ProgressLoadEvent> for Reference

Source§

fn from(value: ProgressLoadEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ReadyStateChangeEvent> for Reference

Source§

fn from(value: ReadyStateChangeEvent) -> Self

Converts to this type from the input type.
Source§

impl From<Rect> for Reference

Source§

fn from(value: Rect) -> Self

Converts to this type from the input type.
Source§

impl From<Reference> for Value

Source§

fn from(value: Reference) -> Self

Converts to this type from the input type.
Source§

impl From<ResizeEvent> for Reference

Source§

fn from(value: ResizeEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResourceAbortEvent> for Reference

Source§

fn from(value: ResourceAbortEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResourceErrorEvent> for Reference

Source§

fn from(value: ResourceErrorEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ResourceLoadEvent> for Reference

Source§

fn from(value: ResourceLoadEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ScrollEvent> for Reference

Source§

fn from(value: ScrollEvent) -> Self

Converts to this type from the input type.
Source§

impl From<SecurityError> for Reference

Source§

fn from(value: SecurityError) -> Self

Converts to this type from the input type.
Source§

impl From<SelectElement> for Reference

Source§

fn from(value: SelectElement) -> Self

Converts to this type from the input type.
Source§

impl From<Selection> for Reference

Source§

fn from(value: Selection) -> Self

Converts to this type from the input type.
Source§

impl From<SelectionChangeEvent> for Reference

Source§

fn from(value: SelectionChangeEvent) -> Self

Converts to this type from the input type.
Source§

impl From<ShadowRoot> for Reference

Source§

fn from(value: ShadowRoot) -> Self

Converts to this type from the input type.
Source§

impl From<SlotChangeEvent> for Reference

Source§

fn from(value: SlotChangeEvent) -> Self

Converts to this type from the input type.
Source§

impl From<SlotElement> for Reference

Source§

fn from(value: SlotElement) -> Self

Converts to this type from the input type.
Source§

impl From<SocketCloseEvent> for Reference

Source§

fn from(value: SocketCloseEvent) -> Self

Converts to this type from the input type.
Source§

impl From<SocketErrorEvent> for Reference

Source§

fn from(value: SocketErrorEvent) -> Self

Converts to this type from the input type.
Source§

impl From<SocketMessageEvent> for Reference

Source§

fn from(value: SocketMessageEvent) -> Self

Converts to this type from the input type.
Source§

impl From<SocketOpenEvent> for Reference

Source§

fn from(value: SocketOpenEvent) -> Self

Converts to this type from the input type.
Source§

impl From<Storage> for Reference

Source§

fn from(value: Storage) -> Self

Converts to this type from the input type.
Source§

impl From<StringMap> for Reference

Source§

fn from(value: StringMap) -> Self

Converts to this type from the input type.
Source§

impl From<SubmitEvent> for Reference

Source§

fn from(value: SubmitEvent) -> Self

Converts to this type from the input type.
Source§

impl From<SyntaxError> for Reference

Source§

fn from(value: SyntaxError) -> Self

Converts to this type from the input type.
Source§

impl From<TemplateElement> for Reference

Source§

fn from(value: TemplateElement) -> Self

Converts to this type from the input type.
Source§

impl From<TextAreaElement> for Reference

Source§

fn from(value: TextAreaElement) -> Self

Converts to this type from the input type.
Source§

impl From<TextMetrics> for Reference

Source§

fn from(value: TextMetrics) -> Self

Converts to this type from the input type.
Source§

impl From<TextNode> for Reference

Source§

fn from(value: TextNode) -> Self

Converts to this type from the input type.
Source§

impl From<TokenList> for Reference

Source§

fn from(value: TokenList) -> Self

Converts to this type from the input type.
Source§

impl From<Touch> for Reference

Source§

fn from(value: Touch) -> Self

Converts to this type from the input type.
Source§

impl From<TouchCancel> for Reference

Source§

fn from(value: TouchCancel) -> Self

Converts to this type from the input type.
Source§

impl From<TouchEnd> for Reference

Source§

fn from(value: TouchEnd) -> Self

Converts to this type from the input type.
Source§

impl From<TouchEnter> for Reference

Source§

fn from(value: TouchEnter) -> Self

Converts to this type from the input type.
Source§

impl From<TouchEvent> for Reference

Source§

fn from(value: TouchEvent) -> Self

Converts to this type from the input type.
Source§

impl From<TouchLeave> for Reference

Source§

fn from(value: TouchLeave) -> Self

Converts to this type from the input type.
Source§

impl From<TouchMove> for Reference

Source§

fn from(value: TouchMove) -> Self

Converts to this type from the input type.
Source§

impl From<TouchStart> for Reference

Source§

fn from(value: TouchStart) -> Self

Converts to this type from the input type.
Source§

impl From<TypeError> for Reference

Source§

fn from(value: TypeError) -> Self

Converts to this type from the input type.
Source§

impl<T: ArrayKind> From<TypedArray<T>> for Reference

Source§

fn from(value: TypedArray<T>) -> Self

Converts to this type from the input type.
Source§

impl From<UnloadEvent> for Reference

Source§

fn from(value: UnloadEvent) -> Self

Converts to this type from the input type.
Source§

impl From<WebSocket> for Reference

Source§

fn from(value: WebSocket) -> Self

Converts to this type from the input type.
Source§

impl From<Window> for Reference

Source§

fn from(value: Window) -> Self

Converts to this type from the input type.
Source§

impl From<XmlHttpRequest> for Reference

Source§

fn from(value: XmlHttpRequest) -> Self

Converts to this type from the input type.
Source§

impl InstanceOf for Reference

Source§

fn instance_of(_: &Reference) -> bool

Checks whenever a given Reference if of type Self.
Source§

impl<'a> PartialEq<&'a Value> for Reference

Source§

fn eq(&self, right: &&'a Value) -> 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<'a> PartialEq<Reference> for &'a Value

Source§

fn eq(&self, right: &Reference) -> 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<'a> PartialEq<Value> for &'a Reference

Source§

fn eq(&self, right: &Value) -> 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 PartialEq<Value> for Reference

Source§

fn eq(&self, right: &Value) -> 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 PartialEq for Reference

Source§

fn eq(&self, other: &Reference) -> 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<'a> TryFrom<&'a Reference> for &'a Reference

Source§

type Error = Void

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

fn try_from(source: &'a Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for AbortError

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Array

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ArrayBuffer

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for AuxClickEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for BeforeUnloadEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Blob

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for BlurEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for CanvasElement

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for CanvasGradient

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for CanvasPattern

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for CanvasRenderingContext2d

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ClickEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ContextMenuEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DataTransfer

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DataTransferItem

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DataTransferItemList

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Date

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Document

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DocumentFragment

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DomException

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DoubleClickEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DragDropEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DragEndEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DragEnterEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DragEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DragExitEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DragLeaveEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DragOverEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DragRelatedEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for DragStartEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Element

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Error

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for EventTarget

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for File

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for FileList

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for FileReader

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for FocusEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for FormData

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for FullscreenChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Gamepad

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for GamepadButton

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for GamepadConnectedEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for GamepadDisconnectedEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for GotPointerCaptureEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for HashChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for HierarchyRequestError

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for History

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for HtmlCollection

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for HtmlElement

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ImageData

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ImageElement

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for IndexSizeError

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for InputElement

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for InputEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for InvalidAccessError

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for InvalidCharacterError

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for InvalidStateError

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for KeyDownEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for KeyPressEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for KeyUpEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for LoadEndEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for LoadStartEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Location

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for LostPointerCaptureEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for MouseDownEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for MouseEnterEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for MouseLeaveEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for MouseMoveEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for MouseOutEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for MouseOverEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for MouseUpEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for MouseWheelEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for MutationObserver

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Node

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for NodeList

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for NotFoundError

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for NotSupportedError

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Object

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for OptionElement

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for PointerCancelEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for PointerDownEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for PointerEnterEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for PointerLeaveEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for PointerLockChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for PointerLockErrorEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for PointerMoveEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for PointerOutEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for PointerOverEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for PointerUpEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for PopStateEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ProgressAbortEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ProgressErrorEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ProgressEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ProgressLoadEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ReadyStateChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Rect

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ResizeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ResourceAbortEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ResourceErrorEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ResourceLoadEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ScrollEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for SecurityError

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for SelectElement

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Selection

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for SelectionChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for ShadowRoot

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for SlotChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for SlotElement

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for SocketCloseEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for SocketErrorEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for SocketMessageEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for SocketOpenEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Storage

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for StringMap

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for SubmitEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for SyntaxError

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TemplateElement

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TextAreaElement

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TextMetrics

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TextNode

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TokenList

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Touch

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TouchCancel

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TouchEnd

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TouchEnter

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TouchEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TouchLeave

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TouchMove

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TouchStart

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for TypeError

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r, T: ArrayKind> TryFrom<&'_r Reference> for TypedArray<T>

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for UnloadEvent

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for WebSocket

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for Window

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'_r> TryFrom<&'_r Reference> for XmlHttpRequest

Source§

type Error = ConversionError

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

fn try_from(reference: &Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<'a> TryFrom<&'a Value> for &'a Reference

Source§

type Error = ConversionError

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

fn try_from(value: &'a Value) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AbortError> for Reference

Source§

type Error = Void

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

fn try_from(value: AbortError) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Array> for Reference

Source§

type Error = Void

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

fn try_from(value: Array) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayBuffer> for Reference

Source§

type Error = Void

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

fn try_from(value: ArrayBuffer) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<AuxClickEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: AuxClickEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<BeforeUnloadEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: BeforeUnloadEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Blob> for Reference

Source§

type Error = Void

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

fn try_from(value: Blob) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<BlurEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: BlurEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<CanvasElement> for Reference

Source§

type Error = Void

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

fn try_from(value: CanvasElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<CanvasGradient> for Reference

Source§

type Error = Void

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

fn try_from(value: CanvasGradient) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<CanvasPattern> for Reference

Source§

type Error = Void

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

fn try_from(value: CanvasPattern) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<CanvasRenderingContext2d> for Reference

Source§

type Error = Void

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

fn try_from(value: CanvasRenderingContext2d) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ChangeEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ChangeEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ClickEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ClickEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ContextMenuEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ContextMenuEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DataTransfer> for Reference

Source§

type Error = Void

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

fn try_from(value: DataTransfer) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DataTransferItem> for Reference

Source§

type Error = Void

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

fn try_from(value: DataTransferItem) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DataTransferItemList> for Reference

Source§

type Error = Void

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

fn try_from(value: DataTransferItemList) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Date> for Reference

Source§

type Error = Void

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

fn try_from(value: Date) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Document> for Reference

Source§

type Error = Void

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

fn try_from(value: Document) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DocumentFragment> for Reference

Source§

type Error = Void

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

fn try_from(value: DocumentFragment) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DomException> for Reference

Source§

type Error = Void

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

fn try_from(value: DomException) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DoubleClickEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: DoubleClickEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DragDropEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: DragDropEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DragEndEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: DragEndEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DragEnterEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: DragEnterEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DragEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: DragEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DragExitEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: DragExitEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DragLeaveEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: DragLeaveEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DragOverEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: DragOverEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DragRelatedEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: DragRelatedEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<DragStartEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: DragStartEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Element> for Reference

Source§

type Error = Void

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

fn try_from(value: Element) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Error> for Reference

Source§

type Error = Void

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

fn try_from(value: Error) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<EventTarget> for Reference

Source§

type Error = Void

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

fn try_from(value: EventTarget) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<File> for Reference

Source§

type Error = Void

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

fn try_from(value: File) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<FileList> for Reference

Source§

type Error = Void

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

fn try_from(value: FileList) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<FileReader> for Reference

Source§

type Error = Void

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

fn try_from(value: FileReader) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<FocusEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: FocusEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<FormData> for Reference

Source§

type Error = Void

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

fn try_from(value: FormData) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<FullscreenChangeEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: FullscreenChangeEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Gamepad> for Reference

Source§

type Error = Void

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

fn try_from(value: Gamepad) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GamepadButton> for Reference

Source§

type Error = Void

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

fn try_from(value: GamepadButton) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GamepadConnectedEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: GamepadConnectedEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GamepadDisconnectedEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: GamepadDisconnectedEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GotPointerCaptureEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: GotPointerCaptureEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<HashChangeEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: HashChangeEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<HierarchyRequestError> for Reference

Source§

type Error = Void

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

fn try_from(value: HierarchyRequestError) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<History> for Reference

Source§

type Error = Void

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

fn try_from(value: History) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<HtmlCollection> for Reference

Source§

type Error = Void

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

fn try_from(value: HtmlCollection) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<HtmlElement> for Reference

Source§

type Error = Void

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

fn try_from(value: HtmlElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ImageData> for Reference

Source§

type Error = Void

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

fn try_from(value: ImageData) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ImageElement> for Reference

Source§

type Error = Void

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

fn try_from(value: ImageElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<IndexSizeError> for Reference

Source§

type Error = Void

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

fn try_from(value: IndexSizeError) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<InputElement> for Reference

Source§

type Error = Void

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

fn try_from(value: InputElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<InputEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: InputEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<InvalidAccessError> for Reference

Source§

type Error = Void

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

fn try_from(value: InvalidAccessError) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<InvalidCharacterError> for Reference

Source§

type Error = Void

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

fn try_from(value: InvalidCharacterError) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<InvalidStateError> for Reference

Source§

type Error = Void

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

fn try_from(value: InvalidStateError) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<KeyDownEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: KeyDownEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<KeyPressEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: KeyPressEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<KeyUpEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: KeyUpEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<LoadEndEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: LoadEndEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<LoadStartEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: LoadStartEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Location> for Reference

Source§

type Error = Void

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

fn try_from(value: Location) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<LostPointerCaptureEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: LostPointerCaptureEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<MouseDownEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: MouseDownEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<MouseEnterEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: MouseEnterEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<MouseLeaveEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: MouseLeaveEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<MouseMoveEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: MouseMoveEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<MouseOutEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: MouseOutEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<MouseOverEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: MouseOverEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<MouseUpEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: MouseUpEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<MouseWheelEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: MouseWheelEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<MutationObserver> for Reference

Source§

type Error = Void

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

fn try_from(value: MutationObserver) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Node> for Reference

Source§

type Error = Void

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

fn try_from(value: Node) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NodeList> for Reference

Source§

type Error = Void

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

fn try_from(value: NodeList) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NotFoundError> for Reference

Source§

type Error = Void

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

fn try_from(value: NotFoundError) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<NotSupportedError> for Reference

Source§

type Error = Void

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

fn try_from(value: NotSupportedError) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Object> for Reference

Source§

type Error = Void

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

fn try_from(value: Object) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<OptionElement> for Reference

Source§

type Error = Void

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

fn try_from(value: OptionElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PointerCancelEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: PointerCancelEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PointerDownEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: PointerDownEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PointerEnterEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: PointerEnterEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PointerLeaveEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: PointerLeaveEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PointerLockChangeEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: PointerLockChangeEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PointerLockErrorEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: PointerLockErrorEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PointerMoveEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: PointerMoveEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PointerOutEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: PointerOutEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PointerOverEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: PointerOverEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PointerUpEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: PointerUpEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<PopStateEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: PopStateEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ProgressAbortEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ProgressAbortEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ProgressErrorEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ProgressErrorEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ProgressEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ProgressEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ProgressLoadEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ProgressLoadEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ReadyStateChangeEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ReadyStateChangeEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Rect> for Reference

Source§

type Error = Void

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

fn try_from(value: Rect) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for AbortError

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Array

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ArrayBuffer

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for AuxClickEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for BeforeUnloadEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Blob

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for BlurEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for CanvasElement

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for CanvasGradient

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for CanvasPattern

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for CanvasRenderingContext2d

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ClickEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ContextMenuEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DataTransfer

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DataTransferItem

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DataTransferItemList

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Date

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Document

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DocumentFragment

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DomException

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DoubleClickEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DragDropEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DragEndEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DragEnterEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DragEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DragExitEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DragLeaveEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DragOverEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DragRelatedEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for DragStartEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Element

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Error

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for EventTarget

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for File

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for FileList

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for FileReader

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for FocusEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for FormData

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for FullscreenChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Gamepad

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for GamepadButton

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for GamepadConnectedEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for GamepadDisconnectedEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for GotPointerCaptureEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for HashChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for HierarchyRequestError

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for History

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for HtmlCollection

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for HtmlElement

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ImageData

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ImageElement

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for IndexSizeError

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for InputElement

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for InputEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for InvalidAccessError

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for InvalidCharacterError

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for InvalidStateError

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for KeyDownEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for KeyPressEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for KeyUpEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for LoadEndEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for LoadStartEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Location

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for LostPointerCaptureEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for MouseDownEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for MouseEnterEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for MouseLeaveEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for MouseMoveEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for MouseOutEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for MouseOverEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for MouseUpEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for MouseWheelEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for MutationObserver

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Node

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for NodeList

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for NotFoundError

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for NotSupportedError

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Object

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for OptionElement

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for PointerCancelEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for PointerDownEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for PointerEnterEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for PointerLeaveEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for PointerLockChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for PointerLockErrorEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for PointerMoveEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for PointerOutEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for PointerOverEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for PointerUpEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for PopStateEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ProgressAbortEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ProgressErrorEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ProgressEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ProgressLoadEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ReadyStateChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Rect

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Reference

Source§

type Error = Void

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

fn try_from(source: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ResizeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ResourceAbortEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ResourceErrorEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ResourceLoadEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ScrollEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for SecurityError

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for SelectElement

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Selection

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for SelectionChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for ShadowRoot

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for SlotChangeEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for SlotElement

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for SocketCloseEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for SocketErrorEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for SocketMessageEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for SocketOpenEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Storage

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for StringMap

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for SubmitEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for SyntaxError

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TemplateElement

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TextAreaElement

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TextMetrics

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TextNode

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TokenList

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Touch

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TouchCancel

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TouchEnd

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TouchEnter

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TouchEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TouchLeave

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TouchMove

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TouchStart

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for TypeError

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<T: ArrayKind> TryFrom<Reference> for TypedArray<T>

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for UnloadEvent

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Value

Source§

type Error = Void

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

fn try_from(source: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for WebSocket

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for Window

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Reference> for XmlHttpRequest

Source§

type Error = ConversionError

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

fn try_from(reference: Reference) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ResizeEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ResizeEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ResourceAbortEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ResourceAbortEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ResourceErrorEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ResourceErrorEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ResourceLoadEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ResourceLoadEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ScrollEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: ScrollEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SecurityError> for Reference

Source§

type Error = Void

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

fn try_from(value: SecurityError) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SelectElement> for Reference

Source§

type Error = Void

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

fn try_from(value: SelectElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Selection> for Reference

Source§

type Error = Void

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

fn try_from(value: Selection) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SelectionChangeEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: SelectionChangeEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ShadowRoot> for Reference

Source§

type Error = Void

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

fn try_from(value: ShadowRoot) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SlotChangeEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: SlotChangeEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SlotElement> for Reference

Source§

type Error = Void

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

fn try_from(value: SlotElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SocketCloseEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: SocketCloseEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SocketErrorEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: SocketErrorEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SocketMessageEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: SocketMessageEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SocketOpenEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: SocketOpenEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Storage> for Reference

Source§

type Error = Void

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

fn try_from(value: Storage) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<StringMap> for Reference

Source§

type Error = Void

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

fn try_from(value: StringMap) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SubmitEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: SubmitEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<SyntaxError> for Reference

Source§

type Error = Void

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

fn try_from(value: SyntaxError) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TemplateElement> for Reference

Source§

type Error = Void

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

fn try_from(value: TemplateElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TextAreaElement> for Reference

Source§

type Error = Void

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

fn try_from(value: TextAreaElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TextMetrics> for Reference

Source§

type Error = Void

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

fn try_from(value: TextMetrics) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TextNode> for Reference

Source§

type Error = Void

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

fn try_from(value: TextNode) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TokenList> for Reference

Source§

type Error = Void

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

fn try_from(value: TokenList) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Touch> for Reference

Source§

type Error = Void

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

fn try_from(value: Touch) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TouchCancel> for Reference

Source§

type Error = Void

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

fn try_from(value: TouchCancel) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TouchEnd> for Reference

Source§

type Error = Void

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

fn try_from(value: TouchEnd) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TouchEnter> for Reference

Source§

type Error = Void

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

fn try_from(value: TouchEnter) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TouchEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: TouchEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TouchLeave> for Reference

Source§

type Error = Void

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

fn try_from(value: TouchLeave) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TouchMove> for Reference

Source§

type Error = Void

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

fn try_from(value: TouchMove) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TouchStart> for Reference

Source§

type Error = Void

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

fn try_from(value: TouchStart) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<TypeError> for Reference

Source§

type Error = Void

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

fn try_from(value: TypeError) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<T: ArrayKind> TryFrom<TypedArray<T>> for Reference

Source§

type Error = Void

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

fn try_from(value: TypedArray<T>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<UnloadEvent> for Reference

Source§

type Error = Void

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

fn try_from(value: UnloadEvent) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Value> for Reference

Source§

type Error = ConversionError

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

fn try_from(value: Value) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<WebSocket> for Reference

Source§

type Error = Void

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

fn try_from(value: WebSocket) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<Window> for Reference

Source§

type Error = Void

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

fn try_from(value: Window) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<XmlHttpRequest> for Reference

Source§

type Error = Void

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

fn try_from(value: XmlHttpRequest) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Eq for Reference

Source§

impl JsSerialize for Reference

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§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

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>,

Source§

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>,

Source§

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, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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.