JsValue

Struct JsValue 

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

Representation of an object owned by JS.

A JsValue doesn’t actually live in Rust right now but actually in a table owned by the wasm-bindgen generated JS glue code. Eventually the ownership will transfer into Wasm directly and this will likely become more efficient, but for now it may be slightly slow.

Implementations§

Source§

impl JsValue

Source

pub const NULL: JsValue

The null JS value constant.

Source

pub const UNDEFINED: JsValue

The undefined JS value constant.

Source

pub const TRUE: JsValue

The true JS value constant.

Source

pub const FALSE: JsValue

The false JS value constant.

Source

pub fn from_str(s: &str) -> JsValue

Creates a new JS value which is a string.

The utf-8 string provided is copied to the JS heap and the string will be owned by the JS garbage collector.

Source

pub fn from_f64(n: f64) -> JsValue

Creates a new JS value which is a number.

This function creates a JS value representing a number (a heap allocated number) and returns a handle to the JS version of it.

Source

pub fn bigint_from_str(s: &str) -> JsValue

Creates a new JS value which is a bigint from a string representing a number.

This function creates a JS value representing a bigint (a heap allocated large integer) and returns a handle to the JS version of it.

Source

pub const fn from_bool(b: bool) -> JsValue

Creates a new JS value which is a boolean.

This function creates a JS object representing a boolean (a heap allocated boolean) and returns a handle to the JS version of it.

Source

pub const fn undefined() -> JsValue

Creates a new JS value representing undefined.

Source

pub const fn null() -> JsValue

Creates a new JS value representing null.

Source

pub fn symbol(description: Option<&str>) -> JsValue

Creates a new JS symbol with the optional description specified.

This function will invoke the Symbol constructor in JS and return the JS object corresponding to the symbol created.

Source

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

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

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

Source

pub fn is_string(&self) -> bool

Tests whether this JS value is a JS string.

Source

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

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

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

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

§UTF-16 vs UTF-8

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

Source

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

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

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

Source

pub fn is_null(&self) -> bool

Tests whether this JS value is null

Source

pub fn is_undefined(&self) -> bool

Tests whether this JS value is undefined

Source

pub fn is_symbol(&self) -> bool

Tests whether the type of this JS value is symbol

Source

pub fn is_object(&self) -> bool

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

Source

pub fn is_array(&self) -> bool

Tests whether this JS value is an instance of Array.

Source

pub fn is_function(&self) -> bool

Tests whether the type of this JS value is function.

Source

pub fn is_bigint(&self) -> bool

Tests whether the type of this JS value is bigint.

Source

pub fn js_typeof(&self) -> JsValue

Applies the unary typeof JS operator on a JsValue.

MDN documentation

Source

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

Applies the binary in JS operator on the two JsValues.

MDN documentation

Source

pub fn is_truthy(&self) -> bool

Tests whether the value is “truthy”.

Source

pub fn is_falsy(&self) -> bool

Tests whether the value is “falsy”.

Source

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

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

MDN documentation

Source

pub fn bit_not(&self) -> JsValue

Applies the unary ~ JS operator on a JsValue.

MDN documentation

Source

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

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

MDN documentation

Source

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

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

MDN documentation

Source

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

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

MDN documentation

Source

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

Applies the binary < JS operator on the two JsValues.

MDN documentation

Source

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

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

MDN documentation

Source

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

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

MDN documentation

Source

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

Applies the binary > JS operator on the two JsValues.

MDN documentation

Source

pub fn unchecked_into_f64(&self) -> f64

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

MDN documentation

Trait Implementations§

Source§

impl Add<&JsValue> for JsValue

Source§

type Output = <&'static JsValue as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: &JsValue) -> <&'static JsValue as Add>::Output

Performs the + operation. Read more
Source§

impl<'a> Add<JsValue> for &'a JsValue

Source§

type Output = <&'static JsValue as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: JsValue) -> <&'static JsValue as Add>::Output

Performs the + operation. Read more
Source§

impl Add for &JsValue

Source§

fn add(self, rhs: &JsValue) -> <&JsValue as Add>::Output

Applies the binary + JS operator on two JsValues.

MDN documentation

Source§

type Output = JsValue

The resulting type after applying the + operator.
Source§

impl Add for JsValue

Source§

type Output = <&'static JsValue as Add>::Output

The resulting type after applying the + operator.
Source§

fn add(self, other: JsValue) -> <&'static JsValue as Add>::Output

Performs the + operation. Read more
Source§

impl AsRef<JsValue> for AbortController

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for AbortSignal

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for AddEventListenerOptions

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Animation

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for AnimationEffect

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for AnimationEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Array

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ArrayBuffer

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for AsyncIterator

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for BeforeUnloadEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for BigInt

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for BigInt64Array

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for BigUint64Array

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Blob

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Boolean

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for CharacterData

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ClipboardEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for CloseEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for CloseEventInit

Source§

fn as_ref(&self) -> &JsValue

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

impl<T> AsRef<JsValue> for Closure<T>
where T: ?Sized,

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Collator

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Comment

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for CompileError

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for CompositionEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for CssStyleDeclaration

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for CustomEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for DataView

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Date

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for DateTimeFormat

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for DeviceMotionEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for DeviceOrientationEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Document

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for DocumentFragment

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for DomRect

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for DomRectReadOnly

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for DomStringMap

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for DomTokenList

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for DragEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Element

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Error

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ErrorEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for EvalError

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Event

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for EventSource

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for EventTarget

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Exception

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for FileReader

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Float32Array

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Float64Array

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for FocusEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for FormData

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Function

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for GamepadEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Generator

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Global

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HashChangeEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Headers

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for History

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlAnchorElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlAreaElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlAudioElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlBaseElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlBodyElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlBrElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlButtonElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlCanvasElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlCollection

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlDListElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlDataElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlDataListElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlDetailsElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlDialogElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlDivElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlEmbedElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlFieldSetElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlFormElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlHeadElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlHeadingElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlHrElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlHtmlElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlIFrameElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlImageElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlInputElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlLabelElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlLegendElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlLiElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlLinkElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlMapElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlMediaElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlMenuElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlMetaElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlMeterElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlModElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlOListElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlObjectElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlOptGroupElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlOptionElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlOutputElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlParagraphElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlParamElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlPictureElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlPreElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlProgressElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlQuoteElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlScriptElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlSelectElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlSlotElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlSourceElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlSpanElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlStyleElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlTableCaptionElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlTableCellElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlTableColElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlTableElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlTableRowElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlTableSectionElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlTemplateElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlTextAreaElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlTimeElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlTitleElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlTrackElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlUListElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for HtmlVideoElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for InputEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Instance

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Int16Array

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Int32Array

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Int8Array

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for IntersectionObserver

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for IntersectionObserverEntry

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for IntersectionObserverInit

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Iterator

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for IteratorNext

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for JsString

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for JsValue

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for KeyboardEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for KeyframeEffect

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for LinkError

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Location

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Map

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Memory

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for MessageEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Module

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for MouseEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for MutationObserver

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for MutationObserverInit

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for MutationRecord

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Node

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Number

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for NumberFormat

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Object

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ObserverCallback

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for PageTransitionEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Performance

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for PluralRules

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for PointerEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for PopStateEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ProgressEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Promise

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for PromiseRejectionEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Proxy

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for QueuingStrategy

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for RangeError

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ReadableByteStreamController

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ReadableStream

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ReadableStreamByobReader

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ReadableStreamByobRequest

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ReadableStreamDefaultController

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ReadableStreamDefaultReader

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ReadableStreamGetReaderOptions

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ReadableStreamReadResult

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ReadableWritablePair

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ReferenceError

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for RegExp

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for RelativeTimeFormat

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Request

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for RequestInit

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ResizeObserver

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ResizeObserverEntry

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Response

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ResponseInit

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for RuntimeError

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for SecurityPolicyViolationEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Set

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ShadowRoot

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for ShadowRootInit

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for SharedArrayBuffer

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for StorageEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for StreamPipeOptions

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for SubmitEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for SvgElement

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Symbol

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for SyntaxError

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Table

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Tag

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Text

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Touch

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for TouchEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for TouchList

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for TransformStream

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for TransformStreamDefaultController

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Transformer

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for TransitionEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for TypeError

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for UiEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Uint16Array

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Uint32Array

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Uint8Array

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Uint8ClampedArray

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for UnderlyingSink

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for UnderlyingSource

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for UriError

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Url

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for UrlSearchParams

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for WeakMap

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for WeakSet

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for WebSocket

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for WheelEvent

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for Window

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for WritableStream

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for WritableStreamDefaultController

Source§

fn as_ref(&self) -> &JsValue

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

impl AsRef<JsValue> for WritableStreamDefaultWriter

Source§

fn as_ref(&self) -> &JsValue

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

impl BitAnd<&JsValue> for JsValue

Source§

type Output = <&'static JsValue as BitAnd>::Output

The resulting type after applying the & operator.
Source§

fn bitand(self, other: &JsValue) -> <&'static JsValue as BitAnd>::Output

Performs the & operation. Read more
Source§

impl<'a> BitAnd<JsValue> for &'a JsValue

Source§

type Output = <&'static JsValue as BitAnd>::Output

The resulting type after applying the & operator.
Source§

fn bitand(self, other: JsValue) -> <&'static JsValue as BitAnd>::Output

Performs the & operation. Read more
Source§

impl BitAnd for &JsValue

Source§

fn bitand(self, rhs: &JsValue) -> <&JsValue as BitAnd>::Output

Applies the binary & JS operator on two JsValues.

MDN documentation

Source§

type Output = JsValue

The resulting type after applying the & operator.
Source§

impl BitAnd for JsValue

Source§

type Output = <&'static JsValue as BitAnd>::Output

The resulting type after applying the & operator.
Source§

fn bitand(self, other: JsValue) -> <&'static JsValue as BitAnd>::Output

Performs the & operation. Read more
Source§

impl BitOr<&JsValue> for JsValue

Source§

type Output = <&'static JsValue as BitOr>::Output

The resulting type after applying the | operator.
Source§

fn bitor(self, other: &JsValue) -> <&'static JsValue as BitOr>::Output

Performs the | operation. Read more
Source§

impl<'a> BitOr<JsValue> for &'a JsValue

Source§

type Output = <&'static JsValue as BitOr>::Output

The resulting type after applying the | operator.
Source§

fn bitor(self, other: JsValue) -> <&'static JsValue as BitOr>::Output

Performs the | operation. Read more
Source§

impl BitOr for &JsValue

Source§

fn bitor(self, rhs: &JsValue) -> <&JsValue as BitOr>::Output

Applies the binary | JS operator on two JsValues.

MDN documentation

Source§

type Output = JsValue

The resulting type after applying the | operator.
Source§

impl BitOr for JsValue

Source§

type Output = <&'static JsValue as BitOr>::Output

The resulting type after applying the | operator.
Source§

fn bitor(self, other: JsValue) -> <&'static JsValue as BitOr>::Output

Performs the | operation. Read more
Source§

impl BitXor<&JsValue> for JsValue

Source§

type Output = <&'static JsValue as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: &JsValue) -> <&'static JsValue as BitXor>::Output

Performs the ^ operation. Read more
Source§

impl<'a> BitXor<JsValue> for &'a JsValue

Source§

type Output = <&'static JsValue as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: JsValue) -> <&'static JsValue as BitXor>::Output

Performs the ^ operation. Read more
Source§

impl BitXor for &JsValue

Source§

fn bitxor(self, rhs: &JsValue) -> <&JsValue as BitXor>::Output

Applies the binary ^ JS operator on two JsValues.

MDN documentation

Source§

type Output = JsValue

The resulting type after applying the ^ operator.
Source§

impl BitXor for JsValue

Source§

type Output = <&'static JsValue as BitXor>::Output

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, other: JsValue) -> <&'static JsValue as BitXor>::Output

Performs the ^ operation. Read more
Source§

impl Clone for JsValue

Source§

fn clone(&self) -> JsValue

Returns a duplicate 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 JsValue

Source§

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

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

impl Default for JsValue

Source§

fn default() -> JsValue

Returns the “default value” for a type. Read more
Source§

impl Div<&JsValue> for JsValue

Source§

type Output = <&'static JsValue as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: &JsValue) -> <&'static JsValue as Div>::Output

Performs the / operation. Read more
Source§

impl<'a> Div<JsValue> for &'a JsValue

Source§

type Output = <&'static JsValue as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: JsValue) -> <&'static JsValue as Div>::Output

Performs the / operation. Read more
Source§

impl Div for &JsValue

Source§

fn div(self, rhs: &JsValue) -> <&JsValue as Div>::Output

Applies the binary / JS operator on two JsValues.

MDN documentation

Source§

type Output = JsValue

The resulting type after applying the / operator.
Source§

impl Div for JsValue

Source§

type Output = <&'static JsValue as Div>::Output

The resulting type after applying the / operator.
Source§

fn div(self, other: JsValue) -> <&'static JsValue as Div>::Output

Performs the / operation. Read more
Source§

impl Drop for JsValue

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl<'a> From<&'a String> for JsValue

Source§

fn from(s: &'a String) -> JsValue

Converts to this type from the input type.
Source§

impl<'a, T> From<&'a T> for JsValue
where T: JsCast,

Source§

fn from(s: &'a T) -> JsValue

Converts to this type from the input type.
Source§

impl<'a> From<&'a str> for JsValue

Source§

fn from(s: &'a str) -> JsValue

Converts to this type from the input type.
Source§

impl<T> From<*const T> for JsValue

Source§

fn from(s: *const T) -> JsValue

Converts to this type from the input type.
Source§

impl<T> From<*mut T> for JsValue

Source§

fn from(s: *mut T) -> JsValue

Converts to this type from the input type.
Source§

impl From<AbortController> for JsValue

Source§

fn from(obj: AbortController) -> JsValue

Converts to this type from the input type.
Source§

impl From<AbortSignal> for JsValue

Source§

fn from(obj: AbortSignal) -> JsValue

Converts to this type from the input type.
Source§

impl From<AddEventListenerOptions> for JsValue

Source§

fn from(obj: AddEventListenerOptions) -> JsValue

Converts to this type from the input type.
Source§

impl From<Animation> for JsValue

Source§

fn from(obj: Animation) -> JsValue

Converts to this type from the input type.
Source§

impl From<AnimationEffect> for JsValue

Source§

fn from(obj: AnimationEffect) -> JsValue

Converts to this type from the input type.
Source§

impl From<AnimationEvent> for JsValue

Source§

fn from(obj: AnimationEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Array> for JsValue

Source§

fn from(obj: Array) -> JsValue

Converts to this type from the input type.
Source§

impl From<ArrayBuffer> for JsValue

Source§

fn from(obj: ArrayBuffer) -> JsValue

Converts to this type from the input type.
Source§

impl From<AsyncIterator> for JsValue

Source§

fn from(obj: AsyncIterator) -> JsValue

Converts to this type from the input type.
Source§

impl From<BeforeUnloadEvent> for JsValue

Source§

fn from(obj: BeforeUnloadEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<BigInt> for JsValue

Source§

fn from(obj: BigInt) -> JsValue

Converts to this type from the input type.
Source§

impl From<BigInt64Array> for JsValue

Source§

fn from(obj: BigInt64Array) -> JsValue

Converts to this type from the input type.
Source§

impl From<BigUint64Array> for JsValue

Source§

fn from(obj: BigUint64Array) -> JsValue

Converts to this type from the input type.
Source§

impl From<BinaryType> for JsValue

Source§

fn from(val: BinaryType) -> JsValue

Converts to this type from the input type.
Source§

impl From<Blob> for JsValue

Source§

fn from(obj: Blob) -> JsValue

Converts to this type from the input type.
Source§

impl<T> From<BoolOrT<T>> for JsValue
where T: Into<JsValue>,

Source§

fn from(value: BoolOrT<T>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Boolean> for JsValue

Source§

fn from(obj: Boolean) -> JsValue

Converts to this type from the input type.
Source§

impl<T> From<Box<[T]>> for JsValue
where T: VectorIntoJsValue,

Source§

fn from(vector: Box<[T]>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Box<[f32]>> for JsValue

Source§

fn from(vector: Box<[f32]>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Box<[f64]>> for JsValue

Source§

fn from(vector: Box<[f64]>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Box<[i16]>> for JsValue

Source§

fn from(vector: Box<[i16]>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Box<[i32]>> for JsValue

Source§

fn from(vector: Box<[i32]>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Box<[i64]>> for JsValue

Source§

fn from(vector: Box<[i64]>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Box<[i8]>> for JsValue

Source§

fn from(vector: Box<[i8]>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Box<[u16]>> for JsValue

Source§

fn from(vector: Box<[u16]>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Box<[u32]>> for JsValue

Source§

fn from(vector: Box<[u32]>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Box<[u64]>> for JsValue

Source§

fn from(vector: Box<[u64]>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Box<[u8]>> for JsValue

Source§

fn from(vector: Box<[u8]>) -> JsValue

Converts to this type from the input type.
Source§

impl From<CharacterData> for JsValue

Source§

fn from(obj: CharacterData) -> JsValue

Converts to this type from the input type.
Source§

impl From<Clamped<Box<[f32]>>> for JsValue

Source§

fn from(vector: Clamped<Box<[f32]>>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Clamped<Box<[f64]>>> for JsValue

Source§

fn from(vector: Clamped<Box<[f64]>>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Clamped<Box<[i16]>>> for JsValue

Source§

fn from(vector: Clamped<Box<[i16]>>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Clamped<Box<[i32]>>> for JsValue

Source§

fn from(vector: Clamped<Box<[i32]>>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Clamped<Box<[i64]>>> for JsValue

Source§

fn from(vector: Clamped<Box<[i64]>>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Clamped<Box<[i8]>>> for JsValue

Source§

fn from(vector: Clamped<Box<[i8]>>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Clamped<Box<[u16]>>> for JsValue

Source§

fn from(vector: Clamped<Box<[u16]>>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Clamped<Box<[u32]>>> for JsValue

Source§

fn from(vector: Clamped<Box<[u32]>>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Clamped<Box<[u64]>>> for JsValue

Source§

fn from(vector: Clamped<Box<[u64]>>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Clamped<Box<[u8]>>> for JsValue

Source§

fn from(vector: Clamped<Box<[u8]>>) -> JsValue

Converts to this type from the input type.
Source§

impl<T> From<Clamped<Vec<T>>> for JsValue

Source§

fn from(vector: Clamped<Vec<T>>) -> JsValue

Converts to this type from the input type.
Source§

impl From<ClipboardEvent> for JsValue

Source§

fn from(obj: ClipboardEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<CloseEvent> for JsValue

Source§

fn from(obj: CloseEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<CloseEventInit> for JsValue

Source§

fn from(obj: CloseEventInit) -> JsValue

Converts to this type from the input type.
Source§

impl From<Collator> for JsValue

Source§

fn from(obj: Collator) -> JsValue

Converts to this type from the input type.
Source§

impl From<Comment> for JsValue

Source§

fn from(obj: Comment) -> JsValue

Converts to this type from the input type.
Source§

impl From<CompileError> for JsValue

Source§

fn from(obj: CompileError) -> JsValue

Converts to this type from the input type.
Source§

impl From<CompositionEvent> for JsValue

Source§

fn from(obj: CompositionEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<CssStyleDeclaration> for JsValue

Source§

fn from(obj: CssStyleDeclaration) -> JsValue

Converts to this type from the input type.
Source§

impl From<CustomEvent> for JsValue

Source§

fn from(obj: CustomEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<DataView> for JsValue

Source§

fn from(obj: DataView) -> JsValue

Converts to this type from the input type.
Source§

impl From<Date> for JsValue

Source§

fn from(obj: Date) -> JsValue

Converts to this type from the input type.
Source§

impl From<DateTimeFormat> for JsValue

Source§

fn from(obj: DateTimeFormat) -> JsValue

Converts to this type from the input type.
Source§

impl From<DeviceMotionEvent> for JsValue

Source§

fn from(obj: DeviceMotionEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<DeviceOrientationEvent> for JsValue

Source§

fn from(obj: DeviceOrientationEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Document> for JsValue

Source§

fn from(obj: Document) -> JsValue

Converts to this type from the input type.
Source§

impl From<DocumentFragment> for JsValue

Source§

fn from(obj: DocumentFragment) -> JsValue

Converts to this type from the input type.
Source§

impl From<DomRect> for JsValue

Source§

fn from(obj: DomRect) -> JsValue

Converts to this type from the input type.
Source§

impl From<DomRectReadOnly> for JsValue

Source§

fn from(obj: DomRectReadOnly) -> JsValue

Converts to this type from the input type.
Source§

impl From<DomStringMap> for JsValue

Source§

fn from(obj: DomStringMap) -> JsValue

Converts to this type from the input type.
Source§

impl From<DomTokenList> for JsValue

Source§

fn from(obj: DomTokenList) -> JsValue

Converts to this type from the input type.
Source§

impl From<DragEvent> for JsValue

Source§

fn from(obj: DragEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Element> for JsValue

Source§

fn from(obj: Element) -> JsValue

Converts to this type from the input type.
Source§

impl From<Error> for JsValue

Source§

fn from(obj: Error) -> JsValue

Converts to this type from the input type.
Source§

impl From<ErrorEvent> for JsValue

Source§

fn from(obj: ErrorEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<EvalError> for JsValue

Source§

fn from(obj: EvalError) -> JsValue

Converts to this type from the input type.
Source§

impl From<Event> for JsValue

Source§

fn from(obj: Event) -> JsValue

Converts to this type from the input type.
Source§

impl From<EventSource> for JsValue

Source§

fn from(obj: EventSource) -> JsValue

Converts to this type from the input type.
Source§

impl From<EventTarget> for JsValue

Source§

fn from(obj: EventTarget) -> JsValue

Converts to this type from the input type.
Source§

impl From<Exception> for JsValue

Source§

fn from(obj: Exception) -> JsValue

Converts to this type from the input type.
Source§

impl From<FileReader> for JsValue

Source§

fn from(obj: FileReader) -> JsValue

Converts to this type from the input type.
Source§

impl From<Float32Array> for JsValue

Source§

fn from(obj: Float32Array) -> JsValue

Converts to this type from the input type.
Source§

impl From<Float64Array> for JsValue

Source§

fn from(obj: Float64Array) -> JsValue

Converts to this type from the input type.
Source§

impl From<FocusEvent> for JsValue

Source§

fn from(obj: FocusEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<FormData> for JsValue

Source§

fn from(obj: FormData) -> JsValue

Converts to this type from the input type.
Source§

impl From<Function> for JsValue

Source§

fn from(obj: Function) -> JsValue

Converts to this type from the input type.
Source§

impl From<GamepadEvent> for JsValue

Source§

fn from(obj: GamepadEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Generator> for JsValue

Source§

fn from(obj: Generator) -> JsValue

Converts to this type from the input type.
Source§

impl From<Global> for JsValue

Source§

fn from(obj: Global) -> JsValue

Converts to this type from the input type.
Source§

impl From<Global> for JsValue

Source§

fn from(obj: Global) -> JsValue

Converts to this type from the input type.
Source§

impl From<Global> for JsValue

Source§

fn from(obj: Global) -> JsValue

Converts to this type from the input type.
Source§

impl From<HashChangeEvent> for JsValue

Source§

fn from(obj: HashChangeEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Headers> for JsValue

Source§

fn from(obj: Headers) -> JsValue

Converts to this type from the input type.
Source§

impl From<History> for JsValue

Source§

fn from(obj: History) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlAnchorElement> for JsValue

Source§

fn from(obj: HtmlAnchorElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlAreaElement> for JsValue

Source§

fn from(obj: HtmlAreaElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlAudioElement> for JsValue

Source§

fn from(obj: HtmlAudioElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlBaseElement> for JsValue

Source§

fn from(obj: HtmlBaseElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlBodyElement> for JsValue

Source§

fn from(obj: HtmlBodyElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlBrElement> for JsValue

Source§

fn from(obj: HtmlBrElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlButtonElement> for JsValue

Source§

fn from(obj: HtmlButtonElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlCanvasElement> for JsValue

Source§

fn from(obj: HtmlCanvasElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlCollection> for JsValue

Source§

fn from(obj: HtmlCollection) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlDListElement> for JsValue

Source§

fn from(obj: HtmlDListElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlDataElement> for JsValue

Source§

fn from(obj: HtmlDataElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlDataListElement> for JsValue

Source§

fn from(obj: HtmlDataListElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlDetailsElement> for JsValue

Source§

fn from(obj: HtmlDetailsElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlDialogElement> for JsValue

Source§

fn from(obj: HtmlDialogElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlDivElement> for JsValue

Source§

fn from(obj: HtmlDivElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlElement> for JsValue

Source§

fn from(obj: HtmlElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlEmbedElement> for JsValue

Source§

fn from(obj: HtmlEmbedElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlFieldSetElement> for JsValue

Source§

fn from(obj: HtmlFieldSetElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlFormElement> for JsValue

Source§

fn from(obj: HtmlFormElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlHeadElement> for JsValue

Source§

fn from(obj: HtmlHeadElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlHeadingElement> for JsValue

Source§

fn from(obj: HtmlHeadingElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlHrElement> for JsValue

Source§

fn from(obj: HtmlHrElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlHtmlElement> for JsValue

Source§

fn from(obj: HtmlHtmlElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlIFrameElement> for JsValue

Source§

fn from(obj: HtmlIFrameElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlImageElement> for JsValue

Source§

fn from(obj: HtmlImageElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlInputElement> for JsValue

Source§

fn from(obj: HtmlInputElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlLabelElement> for JsValue

Source§

fn from(obj: HtmlLabelElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlLegendElement> for JsValue

Source§

fn from(obj: HtmlLegendElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlLiElement> for JsValue

Source§

fn from(obj: HtmlLiElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlLinkElement> for JsValue

Source§

fn from(obj: HtmlLinkElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlMapElement> for JsValue

Source§

fn from(obj: HtmlMapElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlMediaElement> for JsValue

Source§

fn from(obj: HtmlMediaElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlMenuElement> for JsValue

Source§

fn from(obj: HtmlMenuElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlMetaElement> for JsValue

Source§

fn from(obj: HtmlMetaElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlMeterElement> for JsValue

Source§

fn from(obj: HtmlMeterElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlModElement> for JsValue

Source§

fn from(obj: HtmlModElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlOListElement> for JsValue

Source§

fn from(obj: HtmlOListElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlObjectElement> for JsValue

Source§

fn from(obj: HtmlObjectElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlOptGroupElement> for JsValue

Source§

fn from(obj: HtmlOptGroupElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlOptionElement> for JsValue

Source§

fn from(obj: HtmlOptionElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlOutputElement> for JsValue

Source§

fn from(obj: HtmlOutputElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlParagraphElement> for JsValue

Source§

fn from(obj: HtmlParagraphElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlParamElement> for JsValue

Source§

fn from(obj: HtmlParamElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlPictureElement> for JsValue

Source§

fn from(obj: HtmlPictureElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlPreElement> for JsValue

Source§

fn from(obj: HtmlPreElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlProgressElement> for JsValue

Source§

fn from(obj: HtmlProgressElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlQuoteElement> for JsValue

Source§

fn from(obj: HtmlQuoteElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlScriptElement> for JsValue

Source§

fn from(obj: HtmlScriptElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlSelectElement> for JsValue

Source§

fn from(obj: HtmlSelectElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlSlotElement> for JsValue

Source§

fn from(obj: HtmlSlotElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlSourceElement> for JsValue

Source§

fn from(obj: HtmlSourceElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlSpanElement> for JsValue

Source§

fn from(obj: HtmlSpanElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlStyleElement> for JsValue

Source§

fn from(obj: HtmlStyleElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlTableCaptionElement> for JsValue

Source§

fn from(obj: HtmlTableCaptionElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlTableCellElement> for JsValue

Source§

fn from(obj: HtmlTableCellElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlTableColElement> for JsValue

Source§

fn from(obj: HtmlTableColElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlTableElement> for JsValue

Source§

fn from(obj: HtmlTableElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlTableRowElement> for JsValue

Source§

fn from(obj: HtmlTableRowElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlTableSectionElement> for JsValue

Source§

fn from(obj: HtmlTableSectionElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlTemplateElement> for JsValue

Source§

fn from(obj: HtmlTemplateElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlTextAreaElement> for JsValue

Source§

fn from(obj: HtmlTextAreaElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlTimeElement> for JsValue

Source§

fn from(obj: HtmlTimeElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlTitleElement> for JsValue

Source§

fn from(obj: HtmlTitleElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlTrackElement> for JsValue

Source§

fn from(obj: HtmlTrackElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlUListElement> for JsValue

Source§

fn from(obj: HtmlUListElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<HtmlVideoElement> for JsValue

Source§

fn from(obj: HtmlVideoElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<InputEvent> for JsValue

Source§

fn from(obj: InputEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Instance> for JsValue

Source§

fn from(obj: Instance) -> JsValue

Converts to this type from the input type.
Source§

impl From<Int16Array> for JsValue

Source§

fn from(obj: Int16Array) -> JsValue

Converts to this type from the input type.
Source§

impl From<Int32Array> for JsValue

Source§

fn from(obj: Int32Array) -> JsValue

Converts to this type from the input type.
Source§

impl From<Int8Array> for JsValue

Source§

fn from(obj: Int8Array) -> JsValue

Converts to this type from the input type.
Source§

impl From<IntersectionObserver> for JsValue

Source§

fn from(obj: IntersectionObserver) -> JsValue

Converts to this type from the input type.
Source§

impl From<IntersectionObserverEntry> for JsValue

Source§

fn from(obj: IntersectionObserverEntry) -> JsValue

Converts to this type from the input type.
Source§

impl From<IntersectionObserverInit> for JsValue

Source§

fn from(obj: IntersectionObserverInit) -> JsValue

Converts to this type from the input type.
Source§

impl From<IntoUnderlyingByteSource> for JsValue

Source§

fn from(value: IntoUnderlyingByteSource) -> JsValue

Converts to this type from the input type.
Source§

impl From<IntoUnderlyingSink> for JsValue

Source§

fn from(value: IntoUnderlyingSink) -> JsValue

Converts to this type from the input type.
Source§

impl From<IntoUnderlyingSource> for JsValue

Source§

fn from(value: IntoUnderlyingSource) -> JsValue

Converts to this type from the input type.
Source§

impl From<Iterator> for JsValue

Source§

fn from(obj: Iterator) -> JsValue

Converts to this type from the input type.
Source§

impl From<IteratorNext> for JsValue

Source§

fn from(obj: IteratorNext) -> JsValue

Converts to this type from the input type.
Source§

impl From<JsError> for JsValue

Source§

fn from(error: JsError) -> JsValue

Converts to this type from the input type.
Source§

impl From<JsString> for JsValue

Source§

fn from(obj: JsString) -> JsValue

Converts to this type from the input type.
Source§

impl From<JsValue> for AbortController

Source§

fn from(obj: JsValue) -> AbortController

Converts to this type from the input type.
Source§

impl From<JsValue> for AbortSignal

Source§

fn from(obj: JsValue) -> AbortSignal

Converts to this type from the input type.
Source§

impl From<JsValue> for AddEventListenerOptions

Source§

fn from(obj: JsValue) -> AddEventListenerOptions

Converts to this type from the input type.
Source§

impl From<JsValue> for Animation

Source§

fn from(obj: JsValue) -> Animation

Converts to this type from the input type.
Source§

impl From<JsValue> for AnimationEffect

Source§

fn from(obj: JsValue) -> AnimationEffect

Converts to this type from the input type.
Source§

impl From<JsValue> for AnimationEvent

Source§

fn from(obj: JsValue) -> AnimationEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Array

Source§

fn from(obj: JsValue) -> Array

Converts to this type from the input type.
Source§

impl From<JsValue> for ArrayBuffer

Source§

fn from(obj: JsValue) -> ArrayBuffer

Converts to this type from the input type.
Source§

impl From<JsValue> for AsyncIterator

Source§

fn from(obj: JsValue) -> AsyncIterator

Converts to this type from the input type.
Source§

impl From<JsValue> for BeforeUnloadEvent

Source§

fn from(obj: JsValue) -> BeforeUnloadEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for BigInt

Source§

fn from(obj: JsValue) -> BigInt

Converts to this type from the input type.
Source§

impl From<JsValue> for BigInt64Array

Source§

fn from(obj: JsValue) -> BigInt64Array

Converts to this type from the input type.
Source§

impl From<JsValue> for BigUint64Array

Source§

fn from(obj: JsValue) -> BigUint64Array

Converts to this type from the input type.
Source§

impl From<JsValue> for Blob

Source§

fn from(obj: JsValue) -> Blob

Converts to this type from the input type.
Source§

impl From<JsValue> for Boolean

Source§

fn from(obj: JsValue) -> Boolean

Converts to this type from the input type.
Source§

impl From<JsValue> for CharacterData

Source§

fn from(obj: JsValue) -> CharacterData

Converts to this type from the input type.
Source§

impl From<JsValue> for ClipboardEvent

Source§

fn from(obj: JsValue) -> ClipboardEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for CloseEvent

Source§

fn from(obj: JsValue) -> CloseEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for CloseEventInit

Source§

fn from(obj: JsValue) -> CloseEventInit

Converts to this type from the input type.
Source§

impl From<JsValue> for Collator

Source§

fn from(obj: JsValue) -> Collator

Converts to this type from the input type.
Source§

impl From<JsValue> for Comment

Source§

fn from(obj: JsValue) -> Comment

Converts to this type from the input type.
Source§

impl From<JsValue> for CompileError

Source§

fn from(obj: JsValue) -> CompileError

Converts to this type from the input type.
Source§

impl From<JsValue> for CompositionEvent

Source§

fn from(obj: JsValue) -> CompositionEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for CssStyleDeclaration

Source§

fn from(obj: JsValue) -> CssStyleDeclaration

Converts to this type from the input type.
Source§

impl From<JsValue> for CustomEvent

Source§

fn from(obj: JsValue) -> CustomEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for DataView

Source§

fn from(obj: JsValue) -> DataView

Converts to this type from the input type.
Source§

impl From<JsValue> for Date

Source§

fn from(obj: JsValue) -> Date

Converts to this type from the input type.
Source§

impl From<JsValue> for DateTimeFormat

Source§

fn from(obj: JsValue) -> DateTimeFormat

Converts to this type from the input type.
Source§

impl From<JsValue> for DeviceMotionEvent

Source§

fn from(obj: JsValue) -> DeviceMotionEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for DeviceOrientationEvent

Source§

fn from(obj: JsValue) -> DeviceOrientationEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Document

Source§

fn from(obj: JsValue) -> Document

Converts to this type from the input type.
Source§

impl From<JsValue> for DocumentFragment

Source§

fn from(obj: JsValue) -> DocumentFragment

Converts to this type from the input type.
Source§

impl From<JsValue> for DomRect

Source§

fn from(obj: JsValue) -> DomRect

Converts to this type from the input type.
Source§

impl From<JsValue> for DomRectReadOnly

Source§

fn from(obj: JsValue) -> DomRectReadOnly

Converts to this type from the input type.
Source§

impl From<JsValue> for DomStringMap

Source§

fn from(obj: JsValue) -> DomStringMap

Converts to this type from the input type.
Source§

impl From<JsValue> for DomTokenList

Source§

fn from(obj: JsValue) -> DomTokenList

Converts to this type from the input type.
Source§

impl From<JsValue> for DragEvent

Source§

fn from(obj: JsValue) -> DragEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Element

Source§

fn from(obj: JsValue) -> Element

Converts to this type from the input type.
Source§

impl From<JsValue> for Error

Source§

fn from(obj: JsValue) -> Error

Converts to this type from the input type.
Source§

impl From<JsValue> for ErrorEvent

Source§

fn from(obj: JsValue) -> ErrorEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for EvalError

Source§

fn from(obj: JsValue) -> EvalError

Converts to this type from the input type.
Source§

impl From<JsValue> for Event

Source§

fn from(obj: JsValue) -> Event

Converts to this type from the input type.
Source§

impl From<JsValue> for EventSource

Source§

fn from(obj: JsValue) -> EventSource

Converts to this type from the input type.
Source§

impl From<JsValue> for EventTarget

Source§

fn from(obj: JsValue) -> EventTarget

Converts to this type from the input type.
Source§

impl From<JsValue> for Exception

Source§

fn from(obj: JsValue) -> Exception

Converts to this type from the input type.
Source§

impl From<JsValue> for FileReader

Source§

fn from(obj: JsValue) -> FileReader

Converts to this type from the input type.
Source§

impl From<JsValue> for Float32Array

Source§

fn from(obj: JsValue) -> Float32Array

Converts to this type from the input type.
Source§

impl From<JsValue> for Float64Array

Source§

fn from(obj: JsValue) -> Float64Array

Converts to this type from the input type.
Source§

impl From<JsValue> for FocusEvent

Source§

fn from(obj: JsValue) -> FocusEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for FormData

Source§

fn from(obj: JsValue) -> FormData

Converts to this type from the input type.
Source§

impl From<JsValue> for Function

Source§

fn from(obj: JsValue) -> Function

Converts to this type from the input type.
Source§

impl From<JsValue> for GamepadEvent

Source§

fn from(obj: JsValue) -> GamepadEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Generator

Source§

fn from(obj: JsValue) -> Generator

Converts to this type from the input type.
Source§

impl From<JsValue> for Global

Source§

fn from(obj: JsValue) -> Global

Converts to this type from the input type.
Source§

impl From<JsValue> for HashChangeEvent

Source§

fn from(obj: JsValue) -> HashChangeEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Headers

Source§

fn from(obj: JsValue) -> Headers

Converts to this type from the input type.
Source§

impl From<JsValue> for History

Source§

fn from(obj: JsValue) -> History

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlAnchorElement

Source§

fn from(obj: JsValue) -> HtmlAnchorElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlAreaElement

Source§

fn from(obj: JsValue) -> HtmlAreaElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlAudioElement

Source§

fn from(obj: JsValue) -> HtmlAudioElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlBaseElement

Source§

fn from(obj: JsValue) -> HtmlBaseElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlBodyElement

Source§

fn from(obj: JsValue) -> HtmlBodyElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlBrElement

Source§

fn from(obj: JsValue) -> HtmlBrElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlButtonElement

Source§

fn from(obj: JsValue) -> HtmlButtonElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlCanvasElement

Source§

fn from(obj: JsValue) -> HtmlCanvasElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlCollection

Source§

fn from(obj: JsValue) -> HtmlCollection

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlDListElement

Source§

fn from(obj: JsValue) -> HtmlDListElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlDataElement

Source§

fn from(obj: JsValue) -> HtmlDataElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlDataListElement

Source§

fn from(obj: JsValue) -> HtmlDataListElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlDetailsElement

Source§

fn from(obj: JsValue) -> HtmlDetailsElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlDialogElement

Source§

fn from(obj: JsValue) -> HtmlDialogElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlDivElement

Source§

fn from(obj: JsValue) -> HtmlDivElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlElement

Source§

fn from(obj: JsValue) -> HtmlElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlEmbedElement

Source§

fn from(obj: JsValue) -> HtmlEmbedElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlFieldSetElement

Source§

fn from(obj: JsValue) -> HtmlFieldSetElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlFormElement

Source§

fn from(obj: JsValue) -> HtmlFormElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlHeadElement

Source§

fn from(obj: JsValue) -> HtmlHeadElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlHeadingElement

Source§

fn from(obj: JsValue) -> HtmlHeadingElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlHrElement

Source§

fn from(obj: JsValue) -> HtmlHrElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlHtmlElement

Source§

fn from(obj: JsValue) -> HtmlHtmlElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlIFrameElement

Source§

fn from(obj: JsValue) -> HtmlIFrameElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlImageElement

Source§

fn from(obj: JsValue) -> HtmlImageElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlInputElement

Source§

fn from(obj: JsValue) -> HtmlInputElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlLabelElement

Source§

fn from(obj: JsValue) -> HtmlLabelElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlLegendElement

Source§

fn from(obj: JsValue) -> HtmlLegendElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlLiElement

Source§

fn from(obj: JsValue) -> HtmlLiElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlLinkElement

Source§

fn from(obj: JsValue) -> HtmlLinkElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlMapElement

Source§

fn from(obj: JsValue) -> HtmlMapElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlMediaElement

Source§

fn from(obj: JsValue) -> HtmlMediaElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlMenuElement

Source§

fn from(obj: JsValue) -> HtmlMenuElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlMetaElement

Source§

fn from(obj: JsValue) -> HtmlMetaElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlMeterElement

Source§

fn from(obj: JsValue) -> HtmlMeterElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlModElement

Source§

fn from(obj: JsValue) -> HtmlModElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlOListElement

Source§

fn from(obj: JsValue) -> HtmlOListElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlObjectElement

Source§

fn from(obj: JsValue) -> HtmlObjectElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlOptGroupElement

Source§

fn from(obj: JsValue) -> HtmlOptGroupElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlOptionElement

Source§

fn from(obj: JsValue) -> HtmlOptionElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlOutputElement

Source§

fn from(obj: JsValue) -> HtmlOutputElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlParagraphElement

Source§

fn from(obj: JsValue) -> HtmlParagraphElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlParamElement

Source§

fn from(obj: JsValue) -> HtmlParamElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlPictureElement

Source§

fn from(obj: JsValue) -> HtmlPictureElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlPreElement

Source§

fn from(obj: JsValue) -> HtmlPreElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlProgressElement

Source§

fn from(obj: JsValue) -> HtmlProgressElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlQuoteElement

Source§

fn from(obj: JsValue) -> HtmlQuoteElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlScriptElement

Source§

fn from(obj: JsValue) -> HtmlScriptElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlSelectElement

Source§

fn from(obj: JsValue) -> HtmlSelectElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlSlotElement

Source§

fn from(obj: JsValue) -> HtmlSlotElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlSourceElement

Source§

fn from(obj: JsValue) -> HtmlSourceElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlSpanElement

Source§

fn from(obj: JsValue) -> HtmlSpanElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlStyleElement

Source§

fn from(obj: JsValue) -> HtmlStyleElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlTableCaptionElement

Source§

fn from(obj: JsValue) -> HtmlTableCaptionElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlTableCellElement

Source§

fn from(obj: JsValue) -> HtmlTableCellElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlTableColElement

Source§

fn from(obj: JsValue) -> HtmlTableColElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlTableElement

Source§

fn from(obj: JsValue) -> HtmlTableElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlTableRowElement

Source§

fn from(obj: JsValue) -> HtmlTableRowElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlTableSectionElement

Source§

fn from(obj: JsValue) -> HtmlTableSectionElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlTemplateElement

Source§

fn from(obj: JsValue) -> HtmlTemplateElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlTextAreaElement

Source§

fn from(obj: JsValue) -> HtmlTextAreaElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlTimeElement

Source§

fn from(obj: JsValue) -> HtmlTimeElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlTitleElement

Source§

fn from(obj: JsValue) -> HtmlTitleElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlTrackElement

Source§

fn from(obj: JsValue) -> HtmlTrackElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlUListElement

Source§

fn from(obj: JsValue) -> HtmlUListElement

Converts to this type from the input type.
Source§

impl From<JsValue> for HtmlVideoElement

Source§

fn from(obj: JsValue) -> HtmlVideoElement

Converts to this type from the input type.
Source§

impl From<JsValue> for InputEvent

Source§

fn from(obj: JsValue) -> InputEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Instance

Source§

fn from(obj: JsValue) -> Instance

Converts to this type from the input type.
Source§

impl From<JsValue> for Int16Array

Source§

fn from(obj: JsValue) -> Int16Array

Converts to this type from the input type.
Source§

impl From<JsValue> for Int32Array

Source§

fn from(obj: JsValue) -> Int32Array

Converts to this type from the input type.
Source§

impl From<JsValue> for Int8Array

Source§

fn from(obj: JsValue) -> Int8Array

Converts to this type from the input type.
Source§

impl From<JsValue> for IntersectionObserver

Source§

fn from(obj: JsValue) -> IntersectionObserver

Converts to this type from the input type.
Source§

impl From<JsValue> for IntersectionObserverEntry

Source§

fn from(obj: JsValue) -> IntersectionObserverEntry

Converts to this type from the input type.
Source§

impl From<JsValue> for IntersectionObserverInit

Source§

fn from(obj: JsValue) -> IntersectionObserverInit

Converts to this type from the input type.
Source§

impl From<JsValue> for Iterator

Source§

fn from(obj: JsValue) -> Iterator

Converts to this type from the input type.
Source§

impl From<JsValue> for IteratorNext

Source§

fn from(obj: JsValue) -> IteratorNext

Converts to this type from the input type.
Source§

impl From<JsValue> for JsString

Source§

fn from(obj: JsValue) -> JsString

Converts to this type from the input type.
Source§

impl From<JsValue> for KeyboardEvent

Source§

fn from(obj: JsValue) -> KeyboardEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for KeyframeEffect

Source§

fn from(obj: JsValue) -> KeyframeEffect

Converts to this type from the input type.
Source§

impl From<JsValue> for LinkError

Source§

fn from(obj: JsValue) -> LinkError

Converts to this type from the input type.
Source§

impl From<JsValue> for Location

Source§

fn from(obj: JsValue) -> Location

Converts to this type from the input type.
Source§

impl From<JsValue> for Map

Source§

fn from(obj: JsValue) -> Map

Converts to this type from the input type.
Source§

impl From<JsValue> for Memory

Source§

fn from(obj: JsValue) -> Memory

Converts to this type from the input type.
Source§

impl From<JsValue> for MessageEvent

Source§

fn from(obj: JsValue) -> MessageEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Module

Source§

fn from(obj: JsValue) -> Module

Converts to this type from the input type.
Source§

impl From<JsValue> for MouseEvent

Source§

fn from(obj: JsValue) -> MouseEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for MutationObserver

Source§

fn from(obj: JsValue) -> MutationObserver

Converts to this type from the input type.
Source§

impl From<JsValue> for MutationObserverInit

Source§

fn from(obj: JsValue) -> MutationObserverInit

Converts to this type from the input type.
Source§

impl From<JsValue> for MutationRecord

Source§

fn from(obj: JsValue) -> MutationRecord

Converts to this type from the input type.
Source§

impl From<JsValue> for Node

Source§

fn from(obj: JsValue) -> Node

Converts to this type from the input type.
Source§

impl From<JsValue> for Number

Source§

fn from(obj: JsValue) -> Number

Converts to this type from the input type.
Source§

impl From<JsValue> for NumberFormat

Source§

fn from(obj: JsValue) -> NumberFormat

Converts to this type from the input type.
Source§

impl From<JsValue> for Object

Source§

fn from(obj: JsValue) -> Object

Converts to this type from the input type.
Source§

impl From<JsValue> for ObserverCallback

Source§

fn from(obj: JsValue) -> ObserverCallback

Converts to this type from the input type.
Source§

impl From<JsValue> for PageTransitionEvent

Source§

fn from(obj: JsValue) -> PageTransitionEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Performance

Source§

fn from(obj: JsValue) -> Performance

Converts to this type from the input type.
Source§

impl From<JsValue> for PluralRules

Source§

fn from(obj: JsValue) -> PluralRules

Converts to this type from the input type.
Source§

impl From<JsValue> for PointerEvent

Source§

fn from(obj: JsValue) -> PointerEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for PopStateEvent

Source§

fn from(obj: JsValue) -> PopStateEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for ProgressEvent

Source§

fn from(obj: JsValue) -> ProgressEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Promise

Source§

fn from(obj: JsValue) -> Promise

Converts to this type from the input type.
Source§

impl From<JsValue> for PromiseRejectionEvent

Source§

fn from(obj: JsValue) -> PromiseRejectionEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Proxy

Source§

fn from(obj: JsValue) -> Proxy

Converts to this type from the input type.
Source§

impl From<JsValue> for QueuingStrategy

Source§

fn from(obj: JsValue) -> QueuingStrategy

Converts to this type from the input type.
Source§

impl From<JsValue> for RangeError

Source§

fn from(obj: JsValue) -> RangeError

Converts to this type from the input type.
Source§

impl From<JsValue> for ReadableByteStreamController

Source§

fn from(obj: JsValue) -> ReadableByteStreamController

Converts to this type from the input type.
Source§

impl From<JsValue> for ReadableStream

Source§

fn from(obj: JsValue) -> ReadableStream

Converts to this type from the input type.
Source§

impl From<JsValue> for ReadableStreamByobReader

Source§

fn from(obj: JsValue) -> ReadableStreamByobReader

Converts to this type from the input type.
Source§

impl From<JsValue> for ReadableStreamByobRequest

Source§

fn from(obj: JsValue) -> ReadableStreamByobRequest

Converts to this type from the input type.
Source§

impl From<JsValue> for ReadableStreamDefaultController

Source§

fn from(obj: JsValue) -> ReadableStreamDefaultController

Converts to this type from the input type.
Source§

impl From<JsValue> for ReadableStreamDefaultReader

Source§

fn from(obj: JsValue) -> ReadableStreamDefaultReader

Converts to this type from the input type.
Source§

impl From<JsValue> for ReadableStreamGetReaderOptions

Source§

fn from(obj: JsValue) -> ReadableStreamGetReaderOptions

Converts to this type from the input type.
Source§

impl From<JsValue> for ReadableStreamReadResult

Source§

fn from(obj: JsValue) -> ReadableStreamReadResult

Converts to this type from the input type.
Source§

impl From<JsValue> for ReadableWritablePair

Source§

fn from(obj: JsValue) -> ReadableWritablePair

Converts to this type from the input type.
Source§

impl From<JsValue> for ReferenceError

Source§

fn from(obj: JsValue) -> ReferenceError

Converts to this type from the input type.
Source§

impl From<JsValue> for RegExp

Source§

fn from(obj: JsValue) -> RegExp

Converts to this type from the input type.
Source§

impl From<JsValue> for RelativeTimeFormat

Source§

fn from(obj: JsValue) -> RelativeTimeFormat

Converts to this type from the input type.
Source§

impl From<JsValue> for Request

Source§

fn from(obj: JsValue) -> Request

Converts to this type from the input type.
Source§

impl From<JsValue> for RequestInit

Source§

fn from(obj: JsValue) -> RequestInit

Converts to this type from the input type.
Source§

impl From<JsValue> for ResizeObserver

Source§

fn from(obj: JsValue) -> ResizeObserver

Converts to this type from the input type.
Source§

impl From<JsValue> for ResizeObserverEntry

Source§

fn from(obj: JsValue) -> ResizeObserverEntry

Converts to this type from the input type.
Source§

impl From<JsValue> for Response

Source§

fn from(obj: JsValue) -> Response

Converts to this type from the input type.
Source§

impl From<JsValue> for ResponseInit

Source§

fn from(obj: JsValue) -> ResponseInit

Converts to this type from the input type.
Source§

impl From<JsValue> for RuntimeError

Source§

fn from(obj: JsValue) -> RuntimeError

Converts to this type from the input type.
Source§

impl From<JsValue> for SecurityPolicyViolationEvent

Source§

fn from(obj: JsValue) -> SecurityPolicyViolationEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Set

Source§

fn from(obj: JsValue) -> Set

Converts to this type from the input type.
Source§

impl From<JsValue> for ShadowRoot

Source§

fn from(obj: JsValue) -> ShadowRoot

Converts to this type from the input type.
Source§

impl From<JsValue> for ShadowRootInit

Source§

fn from(obj: JsValue) -> ShadowRootInit

Converts to this type from the input type.
Source§

impl From<JsValue> for SharedArrayBuffer

Source§

fn from(obj: JsValue) -> SharedArrayBuffer

Converts to this type from the input type.
Source§

impl From<JsValue> for StorageEvent

Source§

fn from(obj: JsValue) -> StorageEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for StreamPipeOptions

Source§

fn from(obj: JsValue) -> StreamPipeOptions

Converts to this type from the input type.
Source§

impl From<JsValue> for SubmitEvent

Source§

fn from(obj: JsValue) -> SubmitEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for SvgElement

Source§

fn from(obj: JsValue) -> SvgElement

Converts to this type from the input type.
Source§

impl From<JsValue> for Symbol

Source§

fn from(obj: JsValue) -> Symbol

Converts to this type from the input type.
Source§

impl From<JsValue> for SyntaxError

Source§

fn from(obj: JsValue) -> SyntaxError

Converts to this type from the input type.
Source§

impl From<JsValue> for Table

Source§

fn from(obj: JsValue) -> Table

Converts to this type from the input type.
Source§

impl From<JsValue> for Tag

Source§

fn from(obj: JsValue) -> Tag

Converts to this type from the input type.
Source§

impl From<JsValue> for Text

Source§

fn from(obj: JsValue) -> Text

Converts to this type from the input type.
Source§

impl From<JsValue> for Touch

Source§

fn from(obj: JsValue) -> Touch

Converts to this type from the input type.
Source§

impl From<JsValue> for TouchEvent

Source§

fn from(obj: JsValue) -> TouchEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for TouchList

Source§

fn from(obj: JsValue) -> TouchList

Converts to this type from the input type.
Source§

impl From<JsValue> for TransformStream

Source§

fn from(obj: JsValue) -> TransformStream

Converts to this type from the input type.
Source§

impl From<JsValue> for TransformStreamDefaultController

Source§

fn from(obj: JsValue) -> TransformStreamDefaultController

Converts to this type from the input type.
Source§

impl From<JsValue> for Transformer

Source§

fn from(obj: JsValue) -> Transformer

Converts to this type from the input type.
Source§

impl From<JsValue> for TransitionEvent

Source§

fn from(obj: JsValue) -> TransitionEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for TypeError

Source§

fn from(obj: JsValue) -> TypeError

Converts to this type from the input type.
Source§

impl From<JsValue> for UiEvent

Source§

fn from(obj: JsValue) -> UiEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Uint16Array

Source§

fn from(obj: JsValue) -> Uint16Array

Converts to this type from the input type.
Source§

impl From<JsValue> for Uint32Array

Source§

fn from(obj: JsValue) -> Uint32Array

Converts to this type from the input type.
Source§

impl From<JsValue> for Uint8Array

Source§

fn from(obj: JsValue) -> Uint8Array

Converts to this type from the input type.
Source§

impl From<JsValue> for Uint8ClampedArray

Source§

fn from(obj: JsValue) -> Uint8ClampedArray

Converts to this type from the input type.
Source§

impl From<JsValue> for UnderlyingSink

Source§

fn from(obj: JsValue) -> UnderlyingSink

Converts to this type from the input type.
Source§

impl From<JsValue> for UnderlyingSource

Source§

fn from(obj: JsValue) -> UnderlyingSource

Converts to this type from the input type.
Source§

impl From<JsValue> for UriError

Source§

fn from(obj: JsValue) -> UriError

Converts to this type from the input type.
Source§

impl From<JsValue> for Url

Source§

fn from(obj: JsValue) -> Url

Converts to this type from the input type.
Source§

impl From<JsValue> for UrlSearchParams

Source§

fn from(obj: JsValue) -> UrlSearchParams

Converts to this type from the input type.
Source§

impl From<JsValue> for WeakMap

Source§

fn from(obj: JsValue) -> WeakMap

Converts to this type from the input type.
Source§

impl From<JsValue> for WeakSet

Source§

fn from(obj: JsValue) -> WeakSet

Converts to this type from the input type.
Source§

impl From<JsValue> for WebSocket

Source§

fn from(obj: JsValue) -> WebSocket

Converts to this type from the input type.
Source§

impl From<JsValue> for WheelEvent

Source§

fn from(obj: JsValue) -> WheelEvent

Converts to this type from the input type.
Source§

impl From<JsValue> for Window

Source§

fn from(obj: JsValue) -> Window

Converts to this type from the input type.
Source§

impl From<JsValue> for WritableStream

Source§

fn from(obj: JsValue) -> WritableStream

Converts to this type from the input type.
Source§

impl From<JsValue> for WritableStreamDefaultController

Source§

fn from(obj: JsValue) -> WritableStreamDefaultController

Converts to this type from the input type.
Source§

impl From<JsValue> for WritableStreamDefaultWriter

Source§

fn from(obj: JsValue) -> WritableStreamDefaultWriter

Converts to this type from the input type.
Source§

impl From<KeyboardEvent> for JsValue

Source§

fn from(obj: KeyboardEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<KeyframeEffect> for JsValue

Source§

fn from(obj: KeyframeEffect) -> JsValue

Converts to this type from the input type.
Source§

impl From<LinkError> for JsValue

Source§

fn from(obj: LinkError) -> JsValue

Converts to this type from the input type.
Source§

impl From<Location> for JsValue

Source§

fn from(obj: Location) -> JsValue

Converts to this type from the input type.
Source§

impl From<Map> for JsValue

Source§

fn from(obj: Map) -> JsValue

Converts to this type from the input type.
Source§

impl From<MaybeIterator> for JsValue

Source§

fn from(obj: MaybeIterator) -> JsValue

Converts to this type from the input type.
Source§

impl From<Memory> for JsValue

Source§

fn from(obj: Memory) -> JsValue

Converts to this type from the input type.
Source§

impl From<MessageEvent> for JsValue

Source§

fn from(obj: MessageEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Module> for JsValue

Source§

fn from(obj: Module) -> JsValue

Converts to this type from the input type.
Source§

impl From<MouseEvent> for JsValue

Source§

fn from(obj: MouseEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<MutationObserver> for JsValue

Source§

fn from(obj: MutationObserver) -> JsValue

Converts to this type from the input type.
Source§

impl From<MutationObserverInit> for JsValue

Source§

fn from(obj: MutationObserverInit) -> JsValue

Converts to this type from the input type.
Source§

impl From<MutationRecord> for JsValue

Source§

fn from(obj: MutationRecord) -> JsValue

Converts to this type from the input type.
Source§

impl From<Node> for JsValue

Source§

fn from(obj: Node) -> JsValue

Converts to this type from the input type.
Source§

impl<T> From<NonNull<T>> for JsValue

Source§

fn from(s: NonNull<T>) -> JsValue

Converts to this type from the input type.
Source§

impl From<Number> for JsValue

Source§

fn from(obj: Number) -> JsValue

Converts to this type from the input type.
Source§

impl From<NumberFormat> for JsValue

Source§

fn from(obj: NumberFormat) -> JsValue

Converts to this type from the input type.
Source§

impl From<Object> for JsValue

Source§

fn from(obj: Object) -> JsValue

Converts to this type from the input type.
Source§

impl From<ObserverCallback> for JsValue

Source§

fn from(obj: ObserverCallback) -> JsValue

Converts to this type from the input type.
Source§

impl<T> From<Option<T>> for JsValue
where JsValue: From<T>,

Source§

fn from(s: Option<T>) -> JsValue

Converts to this type from the input type.
Source§

impl From<PageTransitionEvent> for JsValue

Source§

fn from(obj: PageTransitionEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Performance> for JsValue

Source§

fn from(obj: Performance) -> JsValue

Converts to this type from the input type.
Source§

impl From<PluralRules> for JsValue

Source§

fn from(obj: PluralRules) -> JsValue

Converts to this type from the input type.
Source§

impl From<PointerEvent> for JsValue

Source§

fn from(obj: PointerEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<PopStateEvent> for JsValue

Source§

fn from(obj: PopStateEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<ProgressEvent> for JsValue

Source§

fn from(obj: ProgressEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Promise> for JsValue

Source§

fn from(obj: Promise) -> JsValue

Converts to this type from the input type.
Source§

impl From<PromiseRejectionEvent> for JsValue

Source§

fn from(obj: PromiseRejectionEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Proxy> for JsValue

Source§

fn from(obj: Proxy) -> JsValue

Converts to this type from the input type.
Source§

impl From<QueuingStrategy> for JsValue

Source§

fn from(obj: QueuingStrategy) -> JsValue

Converts to this type from the input type.
Source§

impl From<RangeError> for JsValue

Source§

fn from(obj: RangeError) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableByteStreamController> for JsValue

Source§

fn from(obj: ReadableByteStreamController) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableStream> for JsValue

Source§

fn from(obj: ReadableStream) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableStreamByobReader> for JsValue

Source§

fn from(obj: ReadableStreamByobReader) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableStreamByobRequest> for JsValue

Source§

fn from(obj: ReadableStreamByobRequest) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableStreamDefaultController> for JsValue

Source§

fn from(obj: ReadableStreamDefaultController) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableStreamDefaultReader> for JsValue

Source§

fn from(obj: ReadableStreamDefaultReader) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableStreamExt> for JsValue

Source§

fn from(obj: ReadableStreamExt) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableStreamGetReaderOptions> for JsValue

Source§

fn from(obj: ReadableStreamGetReaderOptions) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableStreamReadResult> for JsValue

Source§

fn from(obj: ReadableStreamReadResult) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableStreamReaderExt> for JsValue

Source§

fn from(obj: ReadableStreamReaderExt) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableStreamReaderMode> for JsValue

Source§

fn from(val: ReadableStreamReaderMode) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableStreamType> for JsValue

Source§

fn from(val: ReadableStreamType) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReadableWritablePair> for JsValue

Source§

fn from(obj: ReadableWritablePair) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReferenceError> for JsValue

Source§

fn from(obj: ReferenceError) -> JsValue

Converts to this type from the input type.
Source§

impl From<ReferrerPolicy> for JsValue

Source§

fn from(val: ReferrerPolicy) -> JsValue

Converts to this type from the input type.
Source§

impl From<RegExp> for JsValue

Source§

fn from(obj: RegExp) -> JsValue

Converts to this type from the input type.
Source§

impl From<RelativeTimeFormat> for JsValue

Source§

fn from(obj: RelativeTimeFormat) -> JsValue

Converts to this type from the input type.
Source§

impl From<Request> for JsValue

Source§

fn from(obj: Request) -> JsValue

Converts to this type from the input type.
Source§

impl From<RequestCache> for JsValue

Source§

fn from(val: RequestCache) -> JsValue

Converts to this type from the input type.
Source§

impl From<RequestCredentials> for JsValue

Source§

fn from(val: RequestCredentials) -> JsValue

Converts to this type from the input type.
Source§

impl From<RequestInit> for JsValue

Source§

fn from(obj: RequestInit) -> JsValue

Converts to this type from the input type.
Source§

impl From<RequestMode> for JsValue

Source§

fn from(val: RequestMode) -> JsValue

Converts to this type from the input type.
Source§

impl From<RequestRedirect> for JsValue

Source§

fn from(val: RequestRedirect) -> JsValue

Converts to this type from the input type.
Source§

impl From<ResizeObserver> for JsValue

Source§

fn from(obj: ResizeObserver) -> JsValue

Converts to this type from the input type.
Source§

impl From<ResizeObserverEntry> for JsValue

Source§

fn from(obj: ResizeObserverEntry) -> JsValue

Converts to this type from the input type.
Source§

impl From<Response> for JsValue

Source§

fn from(obj: Response) -> JsValue

Converts to this type from the input type.
Source§

impl From<ResponseInit> for JsValue

Source§

fn from(obj: ResponseInit) -> JsValue

Converts to this type from the input type.
Source§

impl From<ResponseType> for JsValue

Source§

fn from(val: ResponseType) -> JsValue

Converts to this type from the input type.
Source§

impl From<RuntimeError> for JsValue

Source§

fn from(obj: RuntimeError) -> JsValue

Converts to this type from the input type.
Source§

impl From<SecurityPolicyViolationEvent> for JsValue

Source§

fn from(obj: SecurityPolicyViolationEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Set> for JsValue

Source§

fn from(obj: Set) -> JsValue

Converts to this type from the input type.
Source§

impl From<ShadowRoot> for JsValue

Source§

fn from(obj: ShadowRoot) -> JsValue

Converts to this type from the input type.
Source§

impl From<ShadowRootInit> for JsValue

Source§

fn from(obj: ShadowRootInit) -> JsValue

Converts to this type from the input type.
Source§

impl From<ShadowRootMode> for JsValue

Source§

fn from(val: ShadowRootMode) -> JsValue

Converts to this type from the input type.
Source§

impl From<SharedArrayBuffer> for JsValue

Source§

fn from(obj: SharedArrayBuffer) -> JsValue

Converts to this type from the input type.
Source§

impl From<StorageEvent> for JsValue

Source§

fn from(obj: StorageEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<StreamPipeOptions> for JsValue

Source§

fn from(obj: StreamPipeOptions) -> JsValue

Converts to this type from the input type.
Source§

impl From<String> for JsValue

Source§

fn from(s: String) -> JsValue

Converts to this type from the input type.
Source§

impl From<SubmitEvent> for JsValue

Source§

fn from(obj: SubmitEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<SvgElement> for JsValue

Source§

fn from(obj: SvgElement) -> JsValue

Converts to this type from the input type.
Source§

impl From<Symbol> for JsValue

Source§

fn from(obj: Symbol) -> JsValue

Converts to this type from the input type.
Source§

impl From<SyntaxError> for JsValue

Source§

fn from(obj: SyntaxError) -> JsValue

Converts to this type from the input type.
Source§

impl From<Table> for JsValue

Source§

fn from(obj: Table) -> JsValue

Converts to this type from the input type.
Source§

impl From<Tag> for JsValue

Source§

fn from(obj: Tag) -> JsValue

Converts to this type from the input type.
Source§

impl From<Text> for JsValue

Source§

fn from(obj: Text) -> JsValue

Converts to this type from the input type.
Source§

impl From<Touch> for JsValue

Source§

fn from(obj: Touch) -> JsValue

Converts to this type from the input type.
Source§

impl From<TouchEvent> for JsValue

Source§

fn from(obj: TouchEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<TouchList> for JsValue

Source§

fn from(obj: TouchList) -> JsValue

Converts to this type from the input type.
Source§

impl From<TransformStream> for JsValue

Source§

fn from(obj: TransformStream) -> JsValue

Converts to this type from the input type.
Source§

impl From<TransformStreamDefaultController> for JsValue

Source§

fn from(obj: TransformStreamDefaultController) -> JsValue

Converts to this type from the input type.
Source§

impl From<Transformer> for JsValue

Source§

fn from(obj: Transformer) -> JsValue

Converts to this type from the input type.
Source§

impl From<TransitionEvent> for JsValue

Source§

fn from(obj: TransitionEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<TypeError> for JsValue

Source§

fn from(obj: TypeError) -> JsValue

Converts to this type from the input type.
Source§

impl From<UiEvent> for JsValue

Source§

fn from(obj: UiEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Uint16Array> for JsValue

Source§

fn from(obj: Uint16Array) -> JsValue

Converts to this type from the input type.
Source§

impl From<Uint32Array> for JsValue

Source§

fn from(obj: Uint32Array) -> JsValue

Converts to this type from the input type.
Source§

impl From<Uint8Array> for JsValue

Source§

fn from(obj: Uint8Array) -> JsValue

Converts to this type from the input type.
Source§

impl From<Uint8ClampedArray> for JsValue

Source§

fn from(obj: Uint8ClampedArray) -> JsValue

Converts to this type from the input type.
Source§

impl From<UnderlyingSink> for JsValue

Source§

fn from(obj: UnderlyingSink) -> JsValue

Converts to this type from the input type.
Source§

impl From<UnderlyingSource> for JsValue

Source§

fn from(obj: UnderlyingSource) -> JsValue

Converts to this type from the input type.
Source§

impl From<UriError> for JsValue

Source§

fn from(obj: UriError) -> JsValue

Converts to this type from the input type.
Source§

impl From<Url> for JsValue

Source§

fn from(obj: Url) -> JsValue

Converts to this type from the input type.
Source§

impl From<UrlSearchParams> for JsValue

Source§

fn from(obj: UrlSearchParams) -> JsValue

Converts to this type from the input type.
Source§

impl<T> From<Vec<T>> for JsValue
where JsValue: From<Box<[T]>>,

Source§

fn from(vector: Vec<T>) -> JsValue

Converts to this type from the input type.
Source§

impl From<WeakMap> for JsValue

Source§

fn from(obj: WeakMap) -> JsValue

Converts to this type from the input type.
Source§

impl From<WeakSet> for JsValue

Source§

fn from(obj: WeakSet) -> JsValue

Converts to this type from the input type.
Source§

impl From<WebSocket> for JsValue

Source§

fn from(obj: WebSocket) -> JsValue

Converts to this type from the input type.
Source§

impl From<WheelEvent> for JsValue

Source§

fn from(obj: WheelEvent) -> JsValue

Converts to this type from the input type.
Source§

impl From<Window> for JsValue

Source§

fn from(obj: Window) -> JsValue

Converts to this type from the input type.
Source§

impl From<WritableStream> for JsValue

Source§

fn from(obj: WritableStream) -> JsValue

Converts to this type from the input type.
Source§

impl From<WritableStreamDefaultController> for JsValue

Source§

fn from(obj: WritableStreamDefaultController) -> JsValue

Converts to this type from the input type.
Source§

impl From<WritableStreamDefaultWriter> for JsValue

Source§

fn from(obj: WritableStreamDefaultWriter) -> JsValue

Converts to this type from the input type.
Source§

impl From<WritableStreamExt> for JsValue

Source§

fn from(obj: WritableStreamExt) -> JsValue

Converts to this type from the input type.
Source§

impl From<bool> for JsValue

Source§

fn from(s: bool) -> JsValue

Converts to this type from the input type.
Source§

impl From<f32> for JsValue

Source§

fn from(n: f32) -> JsValue

Converts to this type from the input type.
Source§

impl From<f64> for JsValue

Source§

fn from(n: f64) -> JsValue

Converts to this type from the input type.
Source§

impl From<i128> for JsValue

Source§

fn from(n: i128) -> JsValue

Converts to this type from the input type.
Source§

impl From<i16> for JsValue

Source§

fn from(n: i16) -> JsValue

Converts to this type from the input type.
Source§

impl From<i32> for JsValue

Source§

fn from(n: i32) -> JsValue

Converts to this type from the input type.
Source§

impl From<i64> for JsValue

Source§

fn from(n: i64) -> JsValue

Converts to this type from the input type.
Source§

impl From<i8> for JsValue

Source§

fn from(n: i8) -> JsValue

Converts to this type from the input type.
Source§

impl From<isize> for JsValue

Source§

fn from(n: isize) -> JsValue

Converts to this type from the input type.
Source§

impl From<u128> for JsValue

Source§

fn from(n: u128) -> JsValue

Converts to this type from the input type.
Source§

impl From<u16> for JsValue

Source§

fn from(n: u16) -> JsValue

Converts to this type from the input type.
Source§

impl From<u32> for JsValue

Source§

fn from(n: u32) -> JsValue

Converts to this type from the input type.
Source§

impl From<u64> for JsValue

Source§

fn from(n: u64) -> JsValue

Converts to this type from the input type.
Source§

impl From<u8> for JsValue

Source§

fn from(n: u8) -> JsValue

Converts to this type from the input type.
Source§

impl From<usize> for JsValue

Source§

fn from(n: usize) -> JsValue

Converts to this type from the input type.
Source§

impl FromWasmAbi for JsValue

Source§

type Abi = u32

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

unsafe fn from_abi(js: u32) -> JsValue

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

impl IntoProperty for JsValue

Source§

type State = (Element, JsValue)

The view state retained between building and rebuilding.
Source§

type Cloneable = JsValue

An equivalent value that can be cloned.
Source§

type CloneableOwned = JsValue

An equivalent value that can be cloned and is 'static.
Source§

fn hydrate<const FROM_SERVER: bool>( self, el: &Element, key: &str, ) -> <JsValue as IntoProperty>::State

Adds the property on an element created from HTML.
Source§

fn build(self, el: &Element, key: &str) -> <JsValue as IntoProperty>::State

Adds the property during client-side rendering.
Source§

fn rebuild(self, state: &mut <JsValue as IntoProperty>::State, key: &str)

Updates the property with a new value.
Source§

fn into_cloneable(self) -> <JsValue as IntoProperty>::Cloneable

Converts this to a cloneable type.
Source§

fn into_cloneable_owned(self) -> <JsValue as IntoProperty>::CloneableOwned

Converts this to a cloneable, owned type.
Source§

impl IntoWasmAbi for &JsValue

Source§

type Abi = u32

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

fn into_abi(self) -> u32

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

impl IntoWasmAbi for JsValue

Source§

type Abi = u32

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

fn into_abi(self) -> u32

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

impl JsCast for JsValue

Source§

fn instanceof(_val: &JsValue) -> bool

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

fn unchecked_from_js(val: JsValue) -> JsValue

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

fn is_type_of(val: &JsValue) -> bool

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

impl JsValueSerdeExt for JsValue

Source§

fn from_serde<T>(t: &T) -> Result<JsValue, Error>
where T: Serialize + ?Sized,

Creates a new JsValue from the JSON serialization of the object t provided. Read more
Source§

fn into_serde<T>(&self) -> Result<T, Error>
where T: for<'a> Deserialize<'a>,

Invokes JSON.stringify on this value and then parses the resulting JSON into an arbitrary Rust value. Read more
Source§

impl LongRefFromWasmAbi for JsValue

Source§

type Abi = u32

Same as RefFromWasmAbi::Abi
Source§

type Anchor = JsValue

Same as RefFromWasmAbi::Anchor
Source§

unsafe fn long_ref_from_abi(js: u32) -> <JsValue as LongRefFromWasmAbi>::Anchor

Same as RefFromWasmAbi::ref_from_abi
Source§

impl Mul<&JsValue> for JsValue

Source§

type Output = <&'static JsValue as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: &JsValue) -> <&'static JsValue as Mul>::Output

Performs the * operation. Read more
Source§

impl<'a> Mul<JsValue> for &'a JsValue

Source§

type Output = <&'static JsValue as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: JsValue) -> <&'static JsValue as Mul>::Output

Performs the * operation. Read more
Source§

impl Mul for &JsValue

Source§

fn mul(self, rhs: &JsValue) -> <&JsValue as Mul>::Output

Applies the binary * JS operator on two JsValues.

MDN documentation

Source§

type Output = JsValue

The resulting type after applying the * operator.
Source§

impl Mul for JsValue

Source§

type Output = <&'static JsValue as Mul>::Output

The resulting type after applying the * operator.
Source§

fn mul(self, other: JsValue) -> <&'static JsValue as Mul>::Output

Performs the * operation. Read more
Source§

impl Neg for &JsValue

Source§

fn neg(self) -> <&JsValue as Neg>::Output

Applies the unary - JS operator on a JsValue.

MDN documentation

Source§

type Output = JsValue

The resulting type after applying the - operator.
Source§

impl Neg for JsValue

Source§

type Output = <&'static JsValue as Neg>::Output

The resulting type after applying the - operator.
Source§

fn neg(self) -> <&'static JsValue as Neg>::Output

Performs the unary - operation. Read more
Source§

impl Not for &JsValue

Source§

fn not(self) -> <&JsValue as Not>::Output

Applies the ! JS operator on a JsValue.

MDN documentation

Source§

type Output = bool

The resulting type after applying the ! operator.
Source§

impl Not for JsValue

Source§

type Output = <&'static JsValue as Not>::Output

The resulting type after applying the ! operator.
Source§

fn not(self) -> <&'static JsValue as Not>::Output

Performs the unary ! operation. Read more
Source§

impl<'a> PartialEq<&'a String> for JsValue

Source§

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

Source§

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

Source§

fn eq(&self, other: &String) -> 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<bool> for JsValue

Source§

fn eq(&self, other: &bool) -> 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<f32> for JsValue

Source§

fn eq(&self, other: &f32) -> 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<f64> for JsValue

Source§

fn eq(&self, other: &f64) -> 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<i128> for JsValue

Source§

fn eq(&self, other: &i128) -> 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<i16> for JsValue

Source§

fn eq(&self, other: &i16) -> 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<i32> for JsValue

Source§

fn eq(&self, other: &i32) -> 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<i64> for JsValue

Source§

fn eq(&self, other: &i64) -> 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<i8> for JsValue

Source§

fn eq(&self, other: &i8) -> 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<isize> for JsValue

Source§

fn eq(&self, other: &isize) -> 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<str> for JsValue

Source§

fn eq(&self, other: &str) -> 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<u128> for JsValue

Source§

fn eq(&self, other: &u128) -> 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<u16> for JsValue

Source§

fn eq(&self, other: &u16) -> 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<u32> for JsValue

Source§

fn eq(&self, other: &u32) -> 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<u64> for JsValue

Source§

fn eq(&self, other: &u64) -> 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<u8> for JsValue

Source§

fn eq(&self, other: &u8) -> 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<usize> for JsValue

Source§

fn eq(&self, other: &usize) -> 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 JsValue

Source§

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

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

MDN documentation

1.0.0 · Source§

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

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

impl RefFromWasmAbi for JsValue

Source§

type Abi = u32

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

type Anchor = ManuallyDrop<JsValue>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don’t persist beyond one function call, and so that they remain anonymous.
Source§

unsafe fn ref_from_abi(js: u32) -> <JsValue as RefFromWasmAbi>::Anchor

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

impl Rem<&JsValue> for JsValue

Source§

type Output = <&'static JsValue as Rem>::Output

The resulting type after applying the % operator.
Source§

fn rem(self, other: &JsValue) -> <&'static JsValue as Rem>::Output

Performs the % operation. Read more
Source§

impl<'a> Rem<JsValue> for &'a JsValue

Source§

type Output = <&'static JsValue as Rem>::Output

The resulting type after applying the % operator.
Source§

fn rem(self, other: JsValue) -> <&'static JsValue as Rem>::Output

Performs the % operation. Read more
Source§

impl Rem for &JsValue

Source§

fn rem(self, rhs: &JsValue) -> <&JsValue as Rem>::Output

Applies the binary % JS operator on two JsValues.

MDN documentation

Source§

type Output = JsValue

The resulting type after applying the % operator.
Source§

impl Rem for JsValue

Source§

type Output = <&'static JsValue as Rem>::Output

The resulting type after applying the % operator.
Source§

fn rem(self, other: JsValue) -> <&'static JsValue as Rem>::Output

Performs the % operation. Read more
Source§

impl Shl<&JsValue> for JsValue

Source§

type Output = <&'static JsValue as Shl>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: &JsValue) -> <&'static JsValue as Shl>::Output

Performs the << operation. Read more
Source§

impl<'a> Shl<JsValue> for &'a JsValue

Source§

type Output = <&'static JsValue as Shl>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: JsValue) -> <&'static JsValue as Shl>::Output

Performs the << operation. Read more
Source§

impl Shl for &JsValue

Source§

fn shl(self, rhs: &JsValue) -> <&JsValue as Shl>::Output

Applies the binary << JS operator on two JsValues.

MDN documentation

Source§

type Output = JsValue

The resulting type after applying the << operator.
Source§

impl Shl for JsValue

Source§

type Output = <&'static JsValue as Shl>::Output

The resulting type after applying the << operator.
Source§

fn shl(self, other: JsValue) -> <&'static JsValue as Shl>::Output

Performs the << operation. Read more
Source§

impl Shr<&JsValue> for JsValue

Source§

type Output = <&'static JsValue as Shr>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: &JsValue) -> <&'static JsValue as Shr>::Output

Performs the >> operation. Read more
Source§

impl<'a> Shr<JsValue> for &'a JsValue

Source§

type Output = <&'static JsValue as Shr>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: JsValue) -> <&'static JsValue as Shr>::Output

Performs the >> operation. Read more
Source§

impl Shr for &JsValue

Source§

fn shr(self, rhs: &JsValue) -> <&JsValue as Shr>::Output

Applies the binary >> JS operator on two JsValues.

MDN documentation

Source§

type Output = JsValue

The resulting type after applying the >> operator.
Source§

impl Shr for JsValue

Source§

type Output = <&'static JsValue as Shr>::Output

The resulting type after applying the >> operator.
Source§

fn shr(self, other: JsValue) -> <&'static JsValue as Shr>::Output

Performs the >> operation. Read more
Source§

impl Sub<&JsValue> for JsValue

Source§

type Output = <&'static JsValue as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: &JsValue) -> <&'static JsValue as Sub>::Output

Performs the - operation. Read more
Source§

impl<'a> Sub<JsValue> for &'a JsValue

Source§

type Output = <&'static JsValue as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: JsValue) -> <&'static JsValue as Sub>::Output

Performs the - operation. Read more
Source§

impl Sub for &JsValue

Source§

fn sub(self, rhs: &JsValue) -> <&JsValue as Sub>::Output

Applies the binary - JS operator on two JsValues.

MDN documentation

Source§

type Output = JsValue

The resulting type after applying the - operator.
Source§

impl Sub for JsValue

Source§

type Output = <&'static JsValue as Sub>::Output

The resulting type after applying the - operator.
Source§

fn sub(self, other: JsValue) -> <&'static JsValue as Sub>::Output

Performs the - operation. Read more
Source§

impl TryFrom<&JsValue> for f64

Source§

fn try_from(val: &JsValue) -> Result<f64, <f64 as TryFrom<&JsValue>>::Error>

Applies the unary + JS operator on a JsValue. Returns the numeric result on success, or the JS error value on error.

MDN documentation

Source§

type Error = JsValue

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

impl TryFrom<JsValue> for JsError

Source§

type Error = NotJsError

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

fn try_from( value: JsValue, ) -> Result<JsError, <JsError as TryFrom<JsValue>>::Error>

Performs the conversion.
Source§

impl TryFrom<JsValue> for String

Source§

type Error = JsValue

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

fn try_from( value: JsValue, ) -> Result<String, <String as TryFrom<JsValue>>::Error>

Performs the conversion.
Source§

impl TryFrom<JsValue> for f64

Source§

fn try_from(val: JsValue) -> Result<f64, <f64 as TryFrom<JsValue>>::Error>

Applies the unary + JS operator on a JsValue. Returns the numeric result on success, or the JS error value on error.

MDN documentation

Source§

type Error = JsValue

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

impl TryFrom<JsValue> for i128

Source§

type Error = JsValue

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

fn try_from(v: JsValue) -> Result<i128, JsValue>

Performs the conversion.
Source§

impl TryFrom<JsValue> for i64

Source§

type Error = JsValue

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

fn try_from(v: JsValue) -> Result<i64, JsValue>

Performs the conversion.
Source§

impl TryFrom<JsValue> for u128

Source§

type Error = JsValue

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

fn try_from(v: JsValue) -> Result<u128, JsValue>

Performs the conversion.
Source§

impl TryFrom<JsValue> for u64

Source§

type Error = JsValue

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

fn try_from(v: JsValue) -> Result<u64, JsValue>

Performs the conversion.
Source§

impl VectorFromWasmAbi for JsValue

Source§

impl VectorIntoWasmAbi for JsValue

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> CastFrom<Element> for T
where T: JsCast,

Source§

fn cast_from(source: Element) -> Option<T>

Casts a node from one type to another.
Source§

impl<T> CastFrom<JsValue> for T
where T: JsCast,

Source§

fn cast_from(source: JsValue) -> Option<T>

Casts a node from one type to another.
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<E, T, Request, Encoding> FromReq<Patch<Encoding>, Request, E> for T
where Request: Req<E> + Send + 'static, Encoding: Decodes<T>, E: FromServerFnError,

Source§

async fn from_req(req: Request) -> Result<T, E>

Attempts to deserialize the arguments from a request.
Source§

impl<E, T, Request, Encoding> FromReq<Post<Encoding>, Request, E> for T
where Request: Req<E> + Send + 'static, Encoding: Decodes<T>, E: FromServerFnError,

Source§

async fn from_req(req: Request) -> Result<T, E>

Attempts to deserialize the arguments from a request.
Source§

impl<E, T, Request, Encoding> FromReq<Put<Encoding>, Request, E> for T
where Request: Req<E> + Send + 'static, Encoding: Decodes<T>, E: FromServerFnError,

Source§

async fn from_req(req: Request) -> Result<T, E>

Attempts to deserialize the arguments from a request.
Source§

impl<E, Encoding, Response, T> FromRes<Patch<Encoding>, Response, E> for T
where Response: ClientRes<E> + Send, Encoding: Decodes<T>, E: FromServerFnError,

Source§

async fn from_res(res: Response) -> Result<T, E>

Attempts to deserialize the outputs from a response.
Source§

impl<E, Encoding, Response, T> FromRes<Post<Encoding>, Response, E> for T
where Response: ClientRes<E> + Send, Encoding: Decodes<T>, E: FromServerFnError,

Source§

async fn from_res(res: Response) -> Result<T, E>

Attempts to deserialize the outputs from a response.
Source§

impl<E, Encoding, Response, T> FromRes<Put<Encoding>, Response, E> for T
where Response: ClientRes<E> + Send, Encoding: Decodes<T>, E: FromServerFnError,

Source§

async fn from_res(res: Response) -> Result<T, E>

Attempts to deserialize the outputs from a response.
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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<E, T, Encoding, Request> IntoReq<Patch<Encoding>, Request, E> for T
where Request: ClientReq<E>, Encoding: Encodes<T>, E: FromServerFnError,

Source§

fn into_req(self, path: &str, accepts: &str) -> Result<Request, E>

Attempts to serialize the arguments into an HTTP request.
Source§

impl<E, T, Encoding, Request> IntoReq<Post<Encoding>, Request, E> for T
where Request: ClientReq<E>, Encoding: Encodes<T>, E: FromServerFnError,

Source§

fn into_req(self, path: &str, accepts: &str) -> Result<Request, E>

Attempts to serialize the arguments into an HTTP request.
Source§

impl<E, T, Encoding, Request> IntoReq<Put<Encoding>, Request, E> for T
where Request: ClientReq<E>, Encoding: Encodes<T>, E: FromServerFnError,

Source§

fn into_req(self, path: &str, accepts: &str) -> Result<Request, E>

Attempts to serialize the arguments into an HTTP request.
Source§

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

Source§

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi
Source§

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

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

impl<T> SerializableKey for T

Source§

fn ser_key(&self) -> String

Serializes the key to a unique string. Read more
Source§

impl<T> StorageAccess<T> for T

Source§

fn as_borrowed(&self) -> &T

Borrows the value.
Source§

fn into_taken(self) -> T

Takes the value.
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> ErasedDestructor for T
where T: 'static,