wasm-bindgen/api/js_sys/struct.Object.html

276 lines
193 KiB
HTML
Raw Normal View History

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Object` struct in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, Object"><title>js_sys::Object - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../dark.css"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../js_sys/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Struct Object</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Methods</a><div class="sidebar-links"><a href="#method.assign">assign</a><a href="#method.assign2">assign2</a><a href="#method.assign3">assign3</a><a href="#method.constructor">constructor</a><a href="#method.create">create</a><a href="#method.define_properties">define_properties</a><a href="#method.define_property">define_property</a><a href="#method.entries">entries</a><a href="#method.freeze">freeze</a><a href="#method.from_entries">from_entries</a><a href="#method.get_own_property_descriptor">get_own_property_descriptor</a><a href="#method.get_own_property_descriptors">get_own_property_descriptors</a><a href="#method.get_own_property_names">get_own_property_names</a><a href="#method.get_own_property_symbols">get_own_property_symbols</a><a href="#method.get_prototype_of">get_prototype_of</a><a href="#method.has_own_property">has_own_property</a><a href="#method.is">is</a><a href="#method.is_extensible">is_extensible</a><a href="#method.is_frozen">is_frozen</a><a href="#method.is_prototype_of">is_prototype_of</a><a href="#method.is_sealed">is_sealed</a><a href="#method.keys">keys</a><a href="#method.new">new</a><a href="#method.prevent_extensions">prevent_extensions</a><a href="#method.property_is_enumerable">property_is_enumerable</a><a href="#method.seal">seal</a><a href="#method.set_prototype_of">set_prototype_of</a><a href="#method.to_locale_string">to_locale_string</a><a href="#method.to_string">to_string</a><a href="#method.try_from">try_from</a><a href="#method.value_of">value_of</a><a href="#method.values">values</a></div><a class="sidebar-title" href="#deref-methods">Methods from Deref&lt;Target=JsValue&gt;</a><div class="sidebar-links"><a href="#method.as_bool">as_bool</a><a href="#method.as_f64">as_f64</a><a href="#method.as_string">as_string</a><a href="#method.is_falsy">is_falsy</a><a href="#method.is_function">is_function</a><a href="#method.is_null">is_null</a><a href="#method.is_object">is_object</a><a href="#method.is_string">is_string</a><a href="#method.is_symbol">is_symbol</a><a href="#method.is_truthy">is_truthy</a><a href="#method.is_undefined">is_undefined</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-AsRef%3CJsValue%3E">AsRef&lt;JsValue&gt;</a><a href="#impl-AsRef%3CObject%3E">AsRef&lt;Object&gt;</a><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Deref">Deref</a><a href="#impl-Eq">Eq</a><a href="#impl-From%3CArray%3E">From&lt;Array&gt;</a><a href="#impl-From%3CArrayBuffer%3E">From&lt;ArrayBuffer&gt;</a><a href="#impl-From%3CBoolean%3E">From&lt;Boolean&gt;</a><a href="#impl-From%3CCollator%3E">From&lt;Collator&gt;</a><a href="#impl-From%3CDataView
own properties from one or more source objects to a target object. It
will return the target object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign">MDN documentation</a></p>
</div></div><h3 id='impl-1' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-1' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.assign2' class="method"><code id='assign2.v'>pub fn <a href='#method.assign2' class='fnname'>assign2</a>(target: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>, source1: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>, source2: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.assign()</code> method is used to copy the values of all enumerable
own properties from one or more source objects to a target object. It
will return the target object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign">MDN documentation</a></p>
</div></div><h3 id='impl-2' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-2' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.assign3' class="method"><code id='assign3.v'>pub fn <a href='#method.assign3' class='fnname'>assign3</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;target: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;source1: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;source2: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;source3: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a><br>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.assign()</code> method is used to copy the values of all enumerable
own properties from one or more source objects to a target object. It
will return the target object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign">MDN documentation</a></p>
</div></div><h3 id='impl-3' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-3' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.constructor' class="method"><code id='constructor.v'>pub fn <a href='#method.constructor' class='fnname'>constructor</a>(&amp;self) -&gt; <a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The constructor property returns a reference to the <code>Object</code> constructor
function that created the instance object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/constructor">MDN documentation</a></p>
</div></div><h3 id='impl-4' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-4' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.create' class="method"><code id='create.v'>pub fn <a href='#method.create' class='fnname'>create</a>(prototype: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.create()</code> method creates a new object, using an existing
object to provide the newly created object's prototype.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create">MDN documentation</a></p>
</div></div><h3 id='impl-5' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-5' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.define_property' class="method"><code id='define_property.v'>pub fn <a href='#method.define_property' class='fnname'>define_property</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;obj: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;prop: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a><br>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The static method <code>Object.defineProperty()</code> defines a new
property directly on an object, or modifies an existing
property on an object, and returns the object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty">MDN documentation</a></p>
</div></div><h3 id='impl-6' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-6' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.define_properties' class="method"><code id='define_properties.v'>pub fn <a href='#method.define_properties' class='fnname'>define_properties</a>(obj: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>, props: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.defineProperties()</code> method defines new or modifies
existing properties directly on an object, returning the
object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperties">MDN documentation</a></p>
</div></div><h3 id='impl-7' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-7' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.entries' class="method"><code id='entries.v'>pub fn <a href='#method.entries' class='fnname'>entries</a>(object: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.entries()</code> method returns an array of a given
object's own enumerable property [key, value] pairs, in the
same order as that provided by a for...in loop (the difference
being that a for-in loop enumerates properties in the
prototype chain as well).</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/entries">MDN documentation</a></p>
</div></div><h3 id='impl-8' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-8' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.freeze' class="method"><code id='freeze.v'>pub fn <a href='#method.freeze' class='fnname'>freeze</a>(value: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.freeze()</code> method freezes an object: that is, prevents new
properties from being added to it; prevents existing properties from
being removed; and prevents existing properties, or their enumerability,
configurability, or writability, from being changed, it also prevents
the prototype from being changed. The method returns the passed object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/freeze">MDN documentation</a></p>
</div></div><h3 id='impl-9' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-9' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from_entries' class="method"><code id='from_entries.v'>pub fn <a href='#method.from_entries' class='fnname'>from_entries</a>(iterable: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.fromEntries()</code> method transforms a list of key-value pairs
into an object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/fromEntries">MDN documentation</a></p>
</div></div><h3 id='impl-10' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-10' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_own_property_descriptor' class="method"><code id='get_own_property_descriptor.v'>pub fn <a href='#method.get_own_property_descriptor' class='fnname'>get_own_property_descriptor</a>(obj: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>, prop: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.getOwnPropertyDescriptor()</code> method returns a
property descriptor for an own property (that is, one directly
present on an object and not in the object's prototype chain)
of a given object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyDescriptor">MDN documentation</a></p>
</div></div><h3 id='impl-11' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-11' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_own_property_descriptors' class="method"><code id='get_own_property_descriptors.v'>pub fn <a href='#method.get_own_property_descriptors' class='fnname'>get_own_property_descriptors</a>(obj: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.getOwnPropertyDescriptors()</code> method returns all own
property descriptors of a given object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyDescriptors">MDN documentation</a></p>
</div></div><h3 id='impl-12' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-12' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_own_property_names' class="method"><code id='get_own_property_names.v'>pub fn <a href='#method.get_own_property_names' class='fnname'>get_own_property_names</a>(obj: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.getOwnPropertyNames()</code> method returns an array of
all properties (including non-enumerable properties except for
those which use Symbol) found directly upon a given object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyNames">MDN documentation</a></p>
</div></div><h3 id='impl-13' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-13' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_own_property_symbols' class="method"><code id='get_own_property_symbols.v'>pub fn <a href='#method.get_own_property_symbols' class='fnname'>get_own_property_symbols</a>(obj: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.getOwnPropertySymbols()</code> method returns an array of
all symbol properties found directly upon a given object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertySymbols">MDN documentation</a></p>
</div></div><h3 id='impl-14' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-14' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_prototype_of' class="method"><code id='get_prototype_of.v'>pub fn <a href='#method.get_prototype_of' class='fnname'>get_prototype_of</a>(obj: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.getPrototypeOf()</code> method returns the prototype
(i.e. the value of the internal [[Prototype]] property) of the
specified object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getPrototypeOf">MDN documentation</a></p>
</div></div><h3 id='impl-15' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-15' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.has_own_property' class="method"><code id='has_own_property.v'>pub fn <a href='#method.has_own_property' class='fnname'>has_own_property</a>(&amp;self, property: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>hasOwnProperty()</code> method returns a boolean indicating whether the
object has the specified property as its own property (as opposed to
inheriting it).</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwnProperty">MDN documentation</a></p>
</div></div><h3 id='impl-16' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-16' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is' class="method"><code id='is.v'>pub fn <a href='#method.is' class='fnname'>is</a>(value_1: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, value_2: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.is()</code> method determines whether two values are the same value.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is">MDN documentation</a></p>
</div></div><h3 id='impl-17' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-17' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_extensible' class="method"><code id='is_extensible.v'>pub fn <a href='#method.is_extensible' class='fnname'>is_extensible</a>(object: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.isExtensible()</code> method determines if an object is extensible
(whether it can have new properties added to it).</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isExtensible">MDN documentation</a></p>
</div></div><h3 id='impl-18' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-18' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_frozen' class="method"><code id='is_frozen.v'>pub fn <a href='#method.is_frozen' class='fnname'>is_frozen</a>(object: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.isFrozen()</code> determines if an object is frozen.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isFrozen">MDN documentation</a></p>
</div></div><h3 id='impl-19' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-19' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_sealed' class="method"><code id='is_sealed.v'>pub fn <a href='#method.is_sealed' class='fnname'>is_sealed</a>(object: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.isSealed()</code> method determines if an object is sealed.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isSealed">MDN documentation</a></p>
</div></div><h3 id='impl-20' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-20' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_prototype_of' class="method"><code id='is_prototype_of.v'>pub fn <a href='#method.is_prototype_of' class='fnname'>is_prototype_of</a>(&amp;self, value: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>isPrototypeOf()</code> method checks if an object exists in another
object's prototype chain.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/isPrototypeOf">MDN documentation</a></p>
</div></div><h3 id='impl-21' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-21' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.keys' class="method"><code id='keys.v'>pub fn <a href='#method.keys' class='fnname'>keys</a>(object: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.keys()</code> method returns an array of a given object's property
names, in the same order as we get with a normal loop.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys">MDN documentation</a></p>
</div></div><h3 id='impl-22' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-22' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.new' class="method"><code id='new.v'>pub fn <a href='#method.new' class='fnname'>new</a>() -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <a href="../js_sys/struct.Object.html" title="`Object`"><code>Object</code></a> constructor creates an object wrapper.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object">MDN documentation</a></p>
</div></div><h3 id='impl-23' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-23' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.prevent_extensions' class="method"><code id='prevent_extensions.v'>pub fn <a href='#method.prevent_extensions' class='fnname'>prevent_extensions</a>(object: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>)</code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.preventExtensions()</code> method prevents new properties from
ever being added to an object (i.e. prevents future extensions to the
object).</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/preventExtensions">MDN documentation</a></p>
</div></div><h3 id='impl-24' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-24' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.property_is_enumerable' class="method"><code id='property_is_enumerable.v'>pub fn <a href='#method.property_is_enumerable' class='fnname'>property_is_enumerable</a>(&amp;self, property: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>propertyIsEnumerable()</code> method returns a Boolean indicating
whether the specified property is enumerable.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/propertyIsEnumerable">MDN documentation</a></p>
</div></div><h3 id='impl-25' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-25' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.seal' class="method"><code id='seal.v'>pub fn <a href='#method.seal' class='fnname'>seal</a>(value: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.seal()</code> method seals an object, preventing new properties
from being added to it and marking all existing properties as
non-configurable. Values of present properties can still be changed as
long as they are writable.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/seal">MDN documentation</a></p>
</div></div><h3 id='impl-26' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-26' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.set_prototype_of' class="method"><code id='set_prototype_of.v'>pub fn <a href='#method.set_prototype_of' class='fnname'>set_prototype_of</a>(object: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>, prototype: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.setPrototypeOf()</code> method sets the prototype (i.e., the
internal <code>[[Prototype]]</code> property) of a specified object to another
object or <code>null</code>.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf">MDN documentation</a></p>
</div></div><h3 id='impl-27' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-27' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.to_locale_string' class="method"><code id='to_locale_string.v'>pub fn <a href='#method.to_locale_string' class='fnname'>to_locale_string</a>(&amp;self) -&gt; <a class="struct" href="../js_sys/struct.JsString.html" title="struct js_sys::JsString">JsString</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>toLocaleString()</code> method returns a string representing the object.
This method is meant to be overridden by derived objects for
locale-specific purposes.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/toLocaleString">MDN documentation</a></p>
</div></div><h3 id='impl-28' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-28' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.to_string' class="method"><code id='to_string.v'>pub fn <a href='#method.to_string' class='fnname'>to_string</a>(&amp;self) -&gt; <a class="struct" href="../js_sys/struct.JsString.html" title="struct js_sys::JsString">JsString</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>toString()</code> method returns a string representing the object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/toString">MDN documentation</a></p>
</div></div><h3 id='impl-29' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-29' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.value_of' class="method"><code id='value_of.v'>pub fn <a href='#method.value_of' class='fnname'>value_of</a>(&amp;self) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>valueOf()</code> method returns the primitive value of the
specified object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/valueOf">MDN documentation</a></p>
</div></div><h3 id='impl-30' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-30' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.values' class="method"><code id='values.v'>pub fn <a href='#method.values' class='fnname'>values</a>(object: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>Object.values()</code> method returns an array of a given object's own
enumerable property values, in the same order as that provided by a
<code>for...in</code> loop (the difference being that a for-in loop enumerates
properties in the prototype chain as well).</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values">MDN documentation</a></p>
</div></div><h3 id='impl-31' class='impl'><code class='in-band'>impl <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-31' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2660-2673' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.try_from' class="method"><code id='try_from.v'>pub fn <a href='#method.try_from' class='fnname'>try_from</a>(val: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt;</code><a class='srclink' href='../src/js_sys/lib.rs.html#2666-2672' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns the <code>Object</code> value of this JS value if it's an instance of an
object.</p>
<p>If this JS value is not an instance of an object then this returns
<code>None</code>.</p>
</div></div><h2 id='deref-methods' class='small-section-header'>Methods from <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;<a href='#deref-methods' class='anchor'></a></h2><div class='impl-items'><h4 id='associatedconstant.NULL' class="associatedconstant"><code id='NULL.v'>pub const <a href='#associatedconstant.NULL' class="constant"><b>NULL</b></a>: <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#97-100' title='goto source code'>[src]</a></h4><h4 id='associatedconstant.UNDEFINED' class="associatedconstant"><code id='UNDEFINED.v'>pub const <a href='#associatedconstant.UNDEFINED' class="constant"><b>UNDEFINED</b></a>: <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#103-106' title='goto source code'>[src]</a></h4><h4 id='associatedconstant.TRUE' class="associatedconstant"><code id='TRUE.v'>pub const <a href='#associatedconstant.TRUE' class="constant"><b>TRUE</b></a>: <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#109-112' title='goto source code'>[src]</a></h4><h4 id='associatedconstant.FALSE' class="associatedconstant"><code id='FALSE.v'>pub const <a href='#associatedconstant.FALSE' class="constant"><b>FALSE</b></a>: <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#115-118' title='goto source code'>[src]</a></h4><h4 id='method.as_f64' class="method"><code id='as_f64.v'>pub fn <a href='#method.as_f64' class='fnname'>as_f64</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>&gt;</code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#241-243' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns the <code>f64</code> value of this JS value if it's an instance of a
number.</p>
<p>If this JS value is not an instance of a number then this returns
<code>None</code>.</p>
</div><h4 id='method.is_string' class="method"><code id='is_string.v'>pub fn <a href='#method.is_string' class='fnname'>is_string</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#246-248' title='goto source code'>[src]</a></h4><div class='docblock'><p>Tests whether this JS value is a JS string.</p>
</div><h4 id='method.as_string' class="method"><code id='as_string.v'>pub fn <a href='#method.as_string' class='fnname'>as_string</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#271-273' title='goto source code'>[src]</a></h4><div class='docblock'><p>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 <code>String</code>.</p>
<p>To avoid the copying and re-encoding, consider the
<code>JsString::try_from()</code> function from <a href="https://docs.rs/js-sys">js-sys</a>
instead.</p>
<p>If this JS value is not an instance of a string or if it's not valid
utf-8 then this returns <code>None</code>.</p>
<h1 id="utf-16-vs-utf-8" class="section-header"><a href="#utf-16-vs-utf-8">UTF-16 vs UTF-8</a></h1>
<p>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
<a href="https://rustwasm.github.io/docs/wasm-bindgen/reference/types/str.html">documentation about the <code>str</code> type</a> which contains a few
caveats about the encodings.</p>
</div><h4 id='method.as_bool' class="method"><code id='as_bool.v'>pub fn <a href='#method.as_bool' class='fnname'>as_bool</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>&gt;</code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#280-288' title='goto source code'>[src]</a></h4><div class='docblock'><p>Returns the <code>bool</code> value of this JS value if it's an instance of a
boolean.</p>
<p>If this JS value is not an instance of a boolean then this returns
<code>None</code>.</p>
</div><h4 id='method.is_null' class="method"><code id='is_null.v'>pub fn <a href='#method.is_null' class='fnname'>is_null</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#292-294' title='goto source code'>[src]</a></h4><div class='docblock'><p>Tests whether this JS value is <code>null</code></p>
</div><h4 id='method.is_undefined' class="method"><code id='is_undefined.v'>pub fn <a href='#method.is_undefined' class='fnname'>is_undefined</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#298-300' title='goto source code'>[src]</a></h4><div class='docblock'><p>Tests whether this JS value is <code>undefined</code></p>
</div><h4 id='method.is_symbol' class="method"><code id='is_symbol.v'>pub fn <a href='#method.is_symbol' class='fnname'>is_symbol</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#304-306' title='goto source code'>[src]</a></h4><div class='docblock'><p>Tests whether the type of this JS value is <code>symbol</code></p>
</div><h4 id='method.is_object' class="method"><code id='is_object.v'>pub fn <a href='#method.is_object' class='fnname'>is_object</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#310-312' title='goto source code'>[src]</a></h4><div class='docblock'><p>Tests whether <code>typeof self == &quot;object&quot; &amp;&amp; self !== null</code>.</p>
</div><h4 id='method.is_function' class="method"><code id='is_function.v'>pub fn <a href='#method.is_function' class='fnname'>is_function</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#316-318' title='goto source code'>[src]</a></h4><div class='docblock'><p>Tests whether the type of this JS value is <code>function</code>.</p>
</div><h4 id='method.is_truthy' class="method"><code id='is_truthy.v'>pub fn <a href='#method.is_truthy' class='fnname'>is_truthy</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#324-326' title='goto source code'>[src]</a></h4><div class='docblock'><p>Tests whether the value is <a href="https://developer.mozilla.org/en-US/docs/Glossary/Truthy">&quot;truthy&quot;</a>.</p>
</div><h4 id='method.is_falsy' class="method"><code id='is_falsy.v'>pub fn <a href='#method.is_falsy' class='fnname'>is_falsy</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/wasm_bindgen/lib.rs.html#332-334' title='goto source code'>[src]</a></h4><div class='docblock'><p>Tests whether the value is <a href="https://developer.mozilla.org/en-US/docs/Glossary/Falsy">&quot;falsy&quot;</a>.</p>
</div></div><h2 id='trait-implementations' class='small-section-header'>Trait Implementations<a href='#trait-implementations' class='anchor'></a></h2><div id='trait-implementations-list'><h3 id='impl-AsRef%3CJsValue%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-AsRef%3CJsValue%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-13' class="method hidden"><code id='as_ref.v-13'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a></code><a href='#impl-AsRef%3CObject%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#128' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref' class="method hidden"><code id='as_ref.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#128' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-1' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.ArrayBuffer.html" title="struct js_sys::ArrayBuffer">ArrayBuffer</a></code><a href='#impl-AsRef%3CObject%3E-1' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#504' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-1' class="method hidden"><code id='as_ref.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#504' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-10' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.IteratorNext.html" title="struct js_sys::IteratorNext">IteratorNext</a></code><a href='#impl-AsRef%3CObject%3E-10' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1532' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-10' class="method hidden"><code id='as_ref.v-10'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1532' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-11' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Number.html" title="struct js_sys::Number">Number</a></code><a href='#impl-AsRef%3CObject%3E-11' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1807' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-11' class="method hidden"><code id='as_ref.v-11'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1807' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-12' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Date.html" title="struct js_sys::Date">Date</a></code><a href='#impl-AsRef%3CObject%3E-12' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1975' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-12' class="method hidden"><code id='as_ref.v-12'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1975' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-13' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-AsRef%3CObject%3E-13' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-14' class="method hidden"><code id='as_ref.v-14'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-14' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.RangeError.html" title="struct js_sys::RangeError">RangeError</a></code><a href='#impl-AsRef%3CObject%3E-14' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2708' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-15' class="method hidden"><code id='as_ref.v-15'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2708' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-15' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.ReferenceError.html" title="struct js_sys::ReferenceError">ReferenceError</a></code><a href='#impl-AsRef%3CObject%3E-15' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2727' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-16' class="method hidden"><code id='as_ref.v-16'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2727' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-16' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.RegExp.html" title="struct js_sys::RegExp">RegExp</a></code><a href='#impl-AsRef%3CObject%3E-16' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2922' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-17' class="method hidden"><code id='as_ref.v-17'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2922' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-17' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Set.html" title="struct js_sys::Set">Set</a></code><a href='#impl-AsRef%3CObject%3E-17' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3099' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-18' class="method hidden"><code id='as_ref.v-18'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3099' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-18' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.SyntaxError.html" title="struct js_sys::SyntaxError">SyntaxError</a></code><a href='#impl-AsRef%3CObject%3E-18' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3184' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-19' class="method hidden"><code id='as_ref.v-19'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3184' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-19' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.TypeError.html" title="struct js_sys::TypeError">TypeError</a></code><a href='#impl-AsRef%3CObject%3E-19' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3205' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-20' class="method hidden"><code id='as_ref.v-20'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3205' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-2' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.SharedArrayBuffer.html" title="struct js_sys::SharedArrayBuffer">SharedArrayBuffer</a></code><a href='#impl-AsRef%3CObject%3E-2' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#554' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-2' class="method hidden"><code id='as_ref.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-20' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.UriError.html" title="struct js_sys::UriError">UriError</a></code><a href='#impl-AsRef%3CObject%3E-20' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3224' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-21' class="method hidden"><code id='as_ref.v-21'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3224' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-21' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.WeakMap.html" title="struct js_sys::WeakMap">WeakMap</a></code><a href='#impl-AsRef%3CObject%3E-21' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3243' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-22' class="method hidden"><code id='as_ref.v-22'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3243' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-22' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.WeakSet.html" title="struct js_sys::WeakSet">WeakSet</a></code><a href='#impl-AsRef%3CObject%3E-22' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3287' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-23' class="method hidden"><code id='as_ref.v-23'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3287' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-23' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/WebAssembly/struct.Instance.html" title="struct js_sys::WebAssembly::Instance">Instance</a></code><a href='#impl-AsRef%3CObject%3E-23' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3390' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-24' class="method hidden"><code id='as_ref.v-24'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3390' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-24' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/WebAssembly/struct.Module.html" title="struct js_sys::WebAssembly::Module">Module</a></code><a href='#impl-AsRef%3CObject%3E-24' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3464' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-25' class="method hidden"><code id='as_ref.v-25'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3464' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-25' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/WebAssembly/struct.Table.html" title="struct js_sys::WebAssembly::Table">Table</a></code><a href='#impl-AsRef%3CObject%3E-25' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3507' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-26' class="method hidden"><code id='as_ref.v-26'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3507' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-26' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/WebAssembly/struct.Memory.html" title="struct js_sys::WebAssembly::Memory">Memory</a></code><a href='#impl-AsRef%3CObject%3E-26' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3556' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-27' class="method hidden"><code id='as_ref.v-27'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3556' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-27' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.JsString.html" title="struct js_sys::JsString">JsString</a></code><a href='#impl-AsRef%3CObject%3E-27' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3662' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-28' class="method hidden"><code id='as_ref.v-28'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3662' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-28' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/Intl/struct.Collator.html" title="struct js_sys::Intl::Collator">Collator</a></code><a href='#impl-AsRef%3CObject%3E-28' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4416' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-29' class="method hidden"><code id='as_ref.v-29'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4416' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-29' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/Intl/struct.DateTimeFormat.html" title="struct js_sys::Intl::DateTimeFormat">DateTimeFormat</a></code><a href='#impl-AsRef%3CObject%3E-29' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4460' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-30' class="method hidden"><code id='as_ref.v-30'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4460' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-3' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Boolean.html" title="struct js_sys::Boolean">Boolean</a></code><a href='#impl-AsRef%3CObject%3E-3' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#770' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-3' class="method hidden"><code id='as_ref.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#770' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-30' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/Intl/struct.NumberFormat.html" title="struct js_sys::Intl::NumberFormat">NumberFormat</a></code><a href='#impl-AsRef%3CObject%3E-30' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4511' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-31' class="method hidden"><code id='as_ref.v-31'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4511' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-31' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/Intl/struct.PluralRules.html" title="struct js_sys::Intl::PluralRules">PluralRules</a></code><a href='#impl-AsRef%3CObject%3E-31' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4561' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-32' class="method hidden"><code id='as_ref.v-32'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4561' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-32' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Promise.html" title="struct js_sys::Promise">Promise</a></code><a href='#impl-AsRef%3CObject%3E-32' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4604' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-33' class="method hidden"><code id='as_ref.v-33'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4604' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-33' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Int8Array.html" title="struct js_sys::Int8Array">Int8Array</a></code><a href='#impl-AsRef%3CObject%3E-33' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-34' class="method hidden"><code id='as_ref.v-34'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-34' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Int16Array.html" title="struct js_sys::Int16Array">Int16Array</a></code><a href='#impl-AsRef%3CObject%3E-34' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-35' class="method hidden"><code id='as_ref.v-35'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-35' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Int32Array.html" title="struct js_sys::Int32Array">Int32Array</a></code><a href='#impl-AsRef%3CObject%3E-35' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-36' class="method hidden"><code id='as_ref.v-36'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-36' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Uint8Array.html" title="struct js_sys::Uint8Array">Uint8Array</a></code><a href='#impl-AsRef%3CObject%3E-36' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-37' class="method hidden"><code id='as_ref.v-37'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-37' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Uint8ClampedArray.html" title="struct js_sys::Uint8ClampedArray">Uint8ClampedArray</a></code><a href='#impl-AsRef%3CObject%3E-37' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-38' class="method hidden"><code id='as_ref.v-38'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-38' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Uint16Array.html" title="struct js_sys::Uint16Array">Uint16Array</a></code><a href='#impl-AsRef%3CObject%3E-38' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-39' class="method hidden"><code id='as_ref.v-39'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-39' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Uint32Array.html" title="struct js_sys::Uint32Array">Uint32Array</a></code><a href='#impl-AsRef%3CObject%3E-39' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-40' class="method hidden"><code id='as_ref.v-40'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-4' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.DataView.html" title="struct js_sys::DataView">DataView</a></code><a href='#impl-AsRef%3CObject%3E-4' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#818' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-4' class="method hidden"><code id='as_ref.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#818' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-40' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Float32Array.html" title="struct js_sys::Float32Array">Float32Array</a></code><a href='#impl-AsRef%3CObject%3E-40' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-41' class="method hidden"><code id='as_ref.v-41'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-41' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Float64Array.html" title="struct js_sys::Float64Array">Float64Array</a></code><a href='#impl-AsRef%3CObject%3E-41' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-42' class="method hidden"><code id='as_ref.v-42'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-5' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Error.html" title="struct js_sys::Error">Error</a></code><a href='#impl-AsRef%3CObject%3E-5' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1050' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-5' class="method hidden"><code id='as_ref.v-5'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1050' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-6' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.EvalError.html" title="struct js_sys::EvalError">EvalError</a></code><a href='#impl-AsRef%3CObject%3E-6' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1089' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-6' class="method hidden"><code id='as_ref.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1089' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-7' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a></code><a href='#impl-AsRef%3CObject%3E-7' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1105' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-7' class="method hidden"><code id='as_ref.v-7'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1105' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-8' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Generator.html" title="struct js_sys::Generator">Generator</a></code><a href='#impl-AsRef%3CObject%3E-8' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1254' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-8' class="method hidden"><code id='as_ref.v-8'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1254' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-AsRef%3CObject%3E-9' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Map.html" title="struct js_sys::Map">Map</a></code><a href='#impl-AsRef%3CObject%3E-9' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1282' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-9' class="method hidden"><code id='as_ref.v-9'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1282' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2420' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2420' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2420' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2420' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div><h3 id='impl-Deref' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-Deref' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Target' class="type"><code id='Target.t'>type <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#associatedtype.Target' class="type">Target</a> = <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code></h4><div class='docblock'><p>The resulting type after dereferencing.</p>
</div><h4 id='method.deref' class="method hidden"><code id='deref.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref' class='fnname'>deref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Dereferences the value.</p>
</div></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2682' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-From%3CArray%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CArray%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#128' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#128' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CArrayBuffer%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.ArrayBuffer.html" title="struct js_sys::ArrayBuffer">ArrayBuffer</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CArrayBuffer%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#504' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-1' class="method hidden"><code id='from.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.ArrayBuffer.html" title="struct js_sys::ArrayBuffer">ArrayBuffer</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#504' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CBoolean%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Boolean.html" title="struct js_sys::Boolean">Boolean</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CBoolean%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#770' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-3' class="method hidden"><code id='from.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Boolean.html" title="struct js_sys::Boolean">Boolean</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#770' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CCollator%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/Intl/struct.Collator.html" title="struct js_sys::Intl::Collator">Collator</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CCollator%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4416' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-29' class="method hidden"><code id='from.v-29'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/Intl/struct.Collator.html" title="struct js_sys::Intl::Collator">Collator</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4416' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CDataView%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.DataView.html" title="struct js_sys::DataView">DataView</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CDataView%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#818' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-4' class="method hidden"><code id='from.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.DataView.html" title="struct js_sys::DataView">DataView</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#818' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CDate%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Date.html" title="struct js_sys::Date">Date</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CDate%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1975' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-12' class="method hidden"><code id='from.v-12'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Date.html" title="struct js_sys::Date">Date</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1975' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CDateTimeFormat%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/Intl/struct.DateTimeFormat.html" title="struct js_sys::Intl::DateTimeFormat">DateTimeFormat</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CDateTimeFormat%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4460' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-30' class="method hidden"><code id='from.v-30'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/Intl/struct.DateTimeFormat.html" title="struct js_sys::Intl::DateTimeFormat">DateTimeFormat</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4460' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CError%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Error.html" title="struct js_sys::Error">Error</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CError%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1050' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-5' class="method hidden"><code id='from.v-5'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Error.html" title="struct js_sys::Error">Error</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1050' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CEvalError%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.EvalError.html" title="struct js_sys::EvalError">EvalError</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CEvalError%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1089' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-6' class="method hidden"><code id='from.v-6'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.EvalError.html" title="struct js_sys::EvalError">EvalError</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1089' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CFloat32Array%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Float32Array.html" title="struct js_sys::Float32Array">Float32Array</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CFloat32Array%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-41' class="method hidden"><code id='from.v-41'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Float32Array.html" title="struct js_sys::Float32Array">Float32Array</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CFloat64Array%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Float64Array.html" title="struct js_sys::Float64Array">Float64Array</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CFloat64Array%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-42' class="method hidden"><code id='from.v-42'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Float64Array.html" title="struct js_sys::Float64Array">Float64Array</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CFunction%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CFunction%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1105' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-7' class="method hidden"><code id='from.v-7'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1105' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CGenerator%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Generator.html" title="struct js_sys::Generator">Generator</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CGenerator%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1254' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-8' class="method hidden"><code id='from.v-8'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Generator.html" title="struct js_sys::Generator">Generator</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1254' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CInstance%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/WebAssembly/struct.Instance.html" title="struct js_sys::WebAssembly::Instance">Instance</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CInstance%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3390' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-24' class="method hidden"><code id='from.v-24'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/WebAssembly/struct.Instance.html" title="struct js_sys::WebAssembly::Instance">Instance</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3390' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CInt16Array%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Int16Array.html" title="struct js_sys::Int16Array">Int16Array</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CInt16Array%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-35' class="method hidden"><code id='from.v-35'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Int16Array.html" title="struct js_sys::Int16Array">Int16Array</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CInt32Array%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Int32Array.html" title="struct js_sys::Int32Array">Int32Array</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CInt32Array%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-36' class="method hidden"><code id='from.v-36'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Int32Array.html" title="struct js_sys::Int32Array">Int32Array</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CInt8Array%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Int8Array.html" title="struct js_sys::Int8Array">Int8Array</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CInt8Array%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-34' class="method hidden"><code id='from.v-34'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Int8Array.html" title="struct js_sys::Int8Array">Int8Array</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CIteratorNext%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.IteratorNext.html" title="struct js_sys::IteratorNext">IteratorNext</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CIteratorNext%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1532' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-10' class="method hidden"><code id='from.v-10'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.IteratorNext.html" title="struct js_sys::IteratorNext">IteratorNext</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1532' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CJsString%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.JsString.html" title="struct js_sys::JsString">JsString</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CJsString%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3662' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-28' class="method hidden"><code id='from.v-28'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.JsString.html" title="struct js_sys::JsString">JsString</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3662' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CJsValue%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CJsValue%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-13' class="method hidden"><code id='from.v-13'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CMap%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Map.html" title="struct js_sys::Map">Map</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CMap%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1282' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-9' class="method hidden"><code id='from.v-9'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Map.html" title="struct js_sys::Map">Map</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1282' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CMemory%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/WebAssembly/struct.Memory.html" title="struct js_sys::WebAssembly::Memory">Memory</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CMemory%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3556' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-27' class="method hidden"><code id='from.v-27'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/WebAssembly/struct.Memory.html" title="struct js_sys::WebAssembly::Memory">Memory</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3556' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CModule%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/WebAssembly/struct.Module.html" title="struct js_sys::WebAssembly::Module">Module</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CModule%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3464' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-25' class="method hidden"><code id='from.v-25'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/WebAssembly/struct.Module.html" title="struct js_sys::WebAssembly::Module">Module</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3464' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CNumber%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Number.html" title="struct js_sys::Number">Number</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CNumber%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#1807' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-11' class="method hidden"><code id='from.v-11'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Number.html" title="struct js_sys::Number">Number</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#1807' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CNumberFormat%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/Intl/struct.NumberFormat.html" title="struct js_sys::Intl::NumberFormat">NumberFormat</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CNumberFormat%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4511' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-31' class="method hidden"><code id='from.v-31'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/Intl/struct.NumberFormat.html" title="struct js_sys::Intl::NumberFormat">NumberFormat</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4511' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CObject%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a href='#impl-From%3CObject%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-14' class="method hidden"><code id='from.v-14'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CPluralRules%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/Intl/struct.PluralRules.html" title="struct js_sys::Intl::PluralRules">PluralRules</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CPluralRules%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4561' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-32' class="method hidden"><code id='from.v-32'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/Intl/struct.PluralRules.html" title="struct js_sys::Intl::PluralRules">PluralRules</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4561' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CPromise%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Promise.html" title="struct js_sys::Promise">Promise</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CPromise%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4604' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-33' class="method hidden"><code id='from.v-33'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Promise.html" title="struct js_sys::Promise">Promise</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4604' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CRangeError%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.RangeError.html" title="struct js_sys::RangeError">RangeError</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CRangeError%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2708' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-15' class="method hidden"><code id='from.v-15'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.RangeError.html" title="struct js_sys::RangeError">RangeError</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2708' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CReferenceError%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.ReferenceError.html" title="struct js_sys::ReferenceError">ReferenceError</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CReferenceError%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2727' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-16' class="method hidden"><code id='from.v-16'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.ReferenceError.html" title="struct js_sys::ReferenceError">ReferenceError</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2727' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CRegExp%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.RegExp.html" title="struct js_sys::RegExp">RegExp</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CRegExp%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2922' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-17' class="method hidden"><code id='from.v-17'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.RegExp.html" title="struct js_sys::RegExp">RegExp</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2922' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CSet%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Set.html" title="struct js_sys::Set">Set</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CSet%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3099' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-18' class="method hidden"><code id='from.v-18'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Set.html" title="struct js_sys::Set">Set</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3099' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CSharedArrayBuffer%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.SharedArrayBuffer.html" title="struct js_sys::SharedArrayBuffer">SharedArrayBuffer</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CSharedArrayBuffer%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#554' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-2' class="method hidden"><code id='from.v-2'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.SharedArrayBuffer.html" title="struct js_sys::SharedArrayBuffer">SharedArrayBuffer</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CSyntaxError%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.SyntaxError.html" title="struct js_sys::SyntaxError">SyntaxError</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CSyntaxError%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3184' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-19' class="method hidden"><code id='from.v-19'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.SyntaxError.html" title="struct js_sys::SyntaxError">SyntaxError</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3184' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CTable%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/WebAssembly/struct.Table.html" title="struct js_sys::WebAssembly::Table">Table</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CTable%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3507' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-26' class="method hidden"><code id='from.v-26'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/WebAssembly/struct.Table.html" title="struct js_sys::WebAssembly::Table">Table</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3507' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CTypeError%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.TypeError.html" title="struct js_sys::TypeError">TypeError</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CTypeError%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3205' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-20' class="method hidden"><code id='from.v-20'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.TypeError.html" title="struct js_sys::TypeError">TypeError</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3205' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CUint16Array%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Uint16Array.html" title="struct js_sys::Uint16Array">Uint16Array</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CUint16Array%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-39' class="method hidden"><code id='from.v-39'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Uint16Array.html" title="struct js_sys::Uint16Array">Uint16Array</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CUint32Array%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Uint32Array.html" title="struct js_sys::Uint32Array">Uint32Array</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CUint32Array%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-40' class="method hidden"><code id='from.v-40'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Uint32Array.html" title="struct js_sys::Uint32Array">Uint32Array</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CUint8Array%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Uint8Array.html" title="struct js_sys::Uint8Array">Uint8Array</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CUint8Array%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-37' class="method hidden"><code id='from.v-37'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Uint8Array.html" title="struct js_sys::Uint8Array">Uint8Array</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CUint8ClampedArray%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.Uint8ClampedArray.html" title="struct js_sys::Uint8ClampedArray">Uint8ClampedArray</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CUint8ClampedArray%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-38' class="method hidden"><code id='from.v-38'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.Uint8ClampedArray.html" title="struct js_sys::Uint8ClampedArray">Uint8ClampedArray</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#4789' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CUriError%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.UriError.html" title="struct js_sys::UriError">UriError</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CUriError%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3224' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-21' class="method hidden"><code id='from.v-21'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.UriError.html" title="struct js_sys::UriError">UriError</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3224' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CWeakMap%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.WeakMap.html" title="struct js_sys::WeakMap">WeakMap</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CWeakMap%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3243' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-22' class="method hidden"><code id='from.v-22'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.WeakMap.html" title="struct js_sys::WeakMap">WeakMap</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3243' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CWeakSet%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../js_sys/struct.WeakSet.html" title="struct js_sys::WeakSet">WeakSet</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CWeakSet%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#3287' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-23' class="method hidden"><code id='from.v-23'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../js_sys/struct.WeakSet.html" title="struct js_sys::WeakSet">WeakSet</a>) -&gt; <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#3287' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-FromWasmAbi' class='impl'><code class='in-band'>impl <a class="trait" href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html" title="trait wasm_bindgen::convert::traits::FromWasmAbi">FromWasmAbi</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-FromWasmAbi' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Abi-1' class="type"><code id='Abi.t-1'>type <a href='../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#associatedtype.Abi' class="type">Abi</a> = &lt;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a> as <a class="trait" href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html" title="trait wasm_bindgen::convert::traits::FromWasmAbi">FromWasmAbi</a>&gt;::<a class="type" href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::FromWasmAbi::Abi">Abi</a></code></h4><div class='docblock'><p>The wasm ABI type that this converts from when coming back out from the ABI boundary. <a href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#associatedtype.Abi">Read more</a></p>
</div><h4 id='method.from_abi' class="method hidden"><code id='from_abi.v'>unsafe fn <a href='../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#tymethod.from_abi' class='fnname'>from_abi</a>(js: Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::FromWasmAbi::Abi">Abi</a>) -&gt; Self</code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Recover a <code>Self</code> from <code>Self::Abi</code>. <a href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#tymethod.from_abi">Read more</a></p>
</div></div><h3 id='impl-IntoWasmAbi' class='impl'><code class='in-band'>impl <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-IntoWasmAbi' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Abi-2' class="type"><code id='Abi.t-2'>type <a href='../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi' class="type">Abi</a> = &lt;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a> as <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a>&gt;::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code></h4><div class='docblock'><p>The wasm ABI type that this converts into when crossing the ABI boundary. <a href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi">Read more</a></p>
</div><h4 id='method.into_abi' class="method hidden"><code id='into_abi.v'>fn <a href='../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#tymethod.into_abi' class='fnname'>into_abi</a>(self) -&gt; Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert <code>self</code> into <code>Self::Abi</code> so that it can be sent across the wasm ABI boundary. <a href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#tymethod.into_abi">Read more</a></p>
</div></div><h3 id='impl-IntoWasmAbi-1' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a> for &amp;'a <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-IntoWasmAbi-1' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Abi-3' class="type"><code id='Abi.t-3'>type <a href='../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi' class="type">Abi</a> = &lt;&amp;'a <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a> as <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a>&gt;::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code></h4><div class='docblock'><p>The wasm ABI type that this converts into when crossing the ABI boundary. <a href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi">Read more</a></p>
</div><h4 id='method.into_abi-1' class="method hidden"><code id='into_abi.v-1'>fn <a href='../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#tymethod.into_abi' class='fnname'>into_abi</a>(self) -&gt; Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Convert <code>self</code> into <code>Self::Abi</code> so that it can be sent across the wasm ABI boundary. <a href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#tymethod.into_abi">Read more</a></p>
</div></div><h3 id='impl-JsCast' class='impl'><code class='in-band'>impl <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-JsCast' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.instanceof' class="method hidden"><code id='instanceof.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#tymethod.instanceof' class='fnname'>instanceof</a>(val: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a dynamic <code>instanceof</code> check to see whether the <code>JsValue</code> provided is an instance of this type. <a href="../wasm_bindgen/cast/trait.JsCast.html#tymethod.instanceof">Read more</a></p>
</div><h4 id='method.unchecked_from_js' class="method hidden"><code id='unchecked_from_js.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#tymethod.unchecked_from_js' class='fnname'>unchecked_from_js</a>(val: <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; Self</code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a zero-cost unchecked conversion from a <code>JsValue</code> into an instance of <code>Self</code> <a href="../wasm_bindgen/cast/trait.JsCast.html#tymethod.unchecked_from_js">Read more</a></p>
</div><h4 id='method.unchecked_from_js_ref' class="method hidden"><code id='unchecked_from_js_ref.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#tymethod.unchecked_from_js_ref' class='fnname'>unchecked_from_js_ref</a>(val: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self</code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a zero-cost unchecked conversion from a <code>&amp;JsValue</code> into an instance of <code>&amp;Self</code>. <a href="../wasm_bindgen/cast/trait.JsCast.html#tymethod.unchecked_from_js_ref">Read more</a></p>
</div><h4 id='method.has_type' class="method hidden"><code id='has_type.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.has_type' class='fnname'>has_type</a>&lt;T&gt;(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>,&nbsp;</span></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#30-35' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Test whether this JS value has a type <code>T</code>. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.has_type">Read more</a></p>
</div><h4 id='method.dyn_into' class="method hidden"><code id='dyn_into.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.dyn_into' class='fnname'>dyn_into</a>&lt;T&gt;(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, Self&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>,&nbsp;</span></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#43-52' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a dynamic cast (checked at runtime) of this value into the target type <code>T</code>. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.dyn_into">Read more</a></p>
</div><h4 id='method.dyn_ref' class="method hidden"><code id='dyn_ref.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.dyn_ref' class='fnname'>dyn_ref</a>&lt;T&gt;(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>,&nbsp;</span></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#60-69' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a dynamic cast (checked at runtime) of this value into the target type <code>T</code>. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.dyn_ref">Read more</a></p>
</div><h4 id='method.unchecked_into' class="method hidden"><code id='unchecked_into.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.unchecked_into' class='fnname'>unchecked_into</a>&lt;T&gt;(self) -&gt; T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>,&nbsp;</span></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#78-83' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a zero-cost unchecked cast into the specified type. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.unchecked_into">Read more</a></p>
</div><h4 id='method.unchecked_ref' class="method hidden"><code id='unchecked_ref.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.unchecked_ref' class='fnname'>unchecked_ref</a>&lt;T&gt;(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>,&nbsp;</span></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#96-101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a zero-cost unchecked cast into a reference to the specified type. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.unchecked_ref">Read more</a></p>
</div><h4 id='method.is_instance_of' class="method hidden"><code id='is_instance_of.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.is_instance_of' class='fnname'>is_instance_of</a>&lt;T&gt;(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>,&nbsp;</span></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#112-117' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Test whether this JS value is an instance of the type <code>T</code>. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.is_instance_of">Read more</a></p>
</div><h4 id='method.is_type_of' class="method hidden"><code id='is_type_of.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.is_type_of' class='fnname'>is_type_of</a>(val: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#136-138' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a dynamic check to see whether the <code>JsValue</code> provided is a value of this type. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.is_type_of">Read more</a></p>
</div></div><h3 id='impl-OptionFromWasmAbi' class='impl'><code class='in-band'>impl <a class="trait" href="../wasm_bindgen/convert/traits/trait.OptionFromWasmAbi.html" title="trait wasm_bindgen::convert::traits::OptionFromWasmAbi">OptionFromWasmAbi</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-OptionFromWasmAbi' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.is_none' class="method hidden"><code id='is_none.v'>fn <a href='../wasm_bindgen/convert/traits/trait.OptionFromWasmAbi.html#tymethod.is_none' class='fnname'>is_none</a>(abi: &amp;Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::FromWasmAbi::Abi">Abi</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Tests whether the argument is a &quot;none&quot; instance. If so it will be deserialized as <code>None</code>, and otherwise it will be passed to <code>FromWasmAbi</code>. <a href="../wasm_bindgen/convert/traits/trait.OptionFromWasmAbi.html#tymethod.is_none">Read more</a></p>
</div></div><h3 id='impl-OptionIntoWasmAbi' class='impl'><code class='in-band'>impl <a class="trait" href="../wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::OptionIntoWasmAbi">OptionIntoWasmAbi</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-OptionIntoWasmAbi' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.none' class="method hidden"><code id='none.v'>fn <a href='../wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html#tymethod.none' class='fnname'>none</a>() -&gt; Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an ABI instance indicating &quot;none&quot;, which JS will interpret as the <code>None</code> branch of this option. <a href="../wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html#tymethod.none">Read more</a></p>
</div></div><h3 id='impl-OptionIntoWasmAbi-1' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="../wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::OptionIntoWasmAbi">OptionIntoWasmAbi</a> for &amp;'a <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-OptionIntoWasmAbi-1' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.none-1' class="method hidden"><code id='none.v-1'>fn <a href='../wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html#tymethod.none' class='fnname'>none</a>() -&gt; Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an ABI instance indicating &quot;none&quot;, which JS will interpret as the <code>None</code> branch of this option. <a href="../wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html#tymethod.none">Read more</a></p>
</div></div><h3 id='impl-PartialEq%3CObject%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-PartialEq%3CObject%3E' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2675-2680' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2677-2679' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'><span class="docblock attributes">#[must_use]</span>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#216-218' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-RefFromWasmAbi' class='impl'><code class='in-band'>impl <a class="trait" href="../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html" title="trait wasm_bindgen::convert::traits::RefFromWasmAbi">RefFromWasmAbi</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-RefFromWasmAbi' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Abi' class="type"><code id='Abi.t'>type <a href='../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Abi' class="type">Abi</a> = &lt;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a> as <a class="trait" href="../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html" title="trait wasm_bindgen::convert::traits::RefFromWasmAbi">RefFromWasmAbi</a>&gt;::<a class="type" href="../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::RefFromWasmAbi::Abi">Abi</a></code></h4><div class='docblock'><p>The wasm ABI type references to <code>Self</code> are recovered from.</p>
</div><h4 id='associatedtype.Anchor' class="type"><code id='Anchor.t'>type <a href='../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Anchor' class="type">Anchor</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/core/mem/manually_drop/struct.ManuallyDrop.html" title="struct core::mem::manually_drop::ManuallyDrop">ManuallyDrop</a>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt;</code></h4><div class='docblock'><p>The type that holds the reference to <code>Self</code> for the duration of the invocation of the function that has an <code>&amp;Self</code> parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. <a href="../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Anchor">Read more</a></p>
</div><h4 id='method.ref_from_abi' class="method hidden"><code id='ref_from_abi.v'>unsafe fn <a href='../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#tymethod.ref_from_abi' class='fnname'>ref_from_abi</a>(js: Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::RefFromWasmAbi::Abi">Abi</a>) -&gt; Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Anchor" title="type wasm_bindgen::convert::traits::RefFromWasmAbi::Anchor">Anchor</a></code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Recover a <code>Self::Anchor</code> from <code>Self::Abi</code>. <a href="../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#tymethod.ref_from_abi">Read more</a></p>
</div></div><h3 id='impl-WasmDescribe' class='impl'><code class='in-band'>impl WasmDescribe for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-WasmDescribe' class='anchor'></a><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.describe' class="method hidden"><code id='describe.v'>fn <a href='#method.describe' class='fnname'>describe</a>()</code><a class='srclink' href='../src/js_sys/lib.rs.html#2417' title='goto source code'>[src]</a></h4></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Send' class='impl'><code class='in-band'>impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-Any' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#108-112' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#109-111' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/ni
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-217' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214-216' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#220-224' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#221-223' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#565-569' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-43' class="method hidden"><code id='from.v-43'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#566-568' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#554-561' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#558-560' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-ReturnWasmAbi' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html" title="trait wasm_bindgen::convert::traits::ReturnWasmAbi">ReturnWasmAbi</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a>,&nbsp;</span></code><a href='#impl-ReturnWasmAbi' class='anchor'></a><a class='srclink' href='../src/wasm_bindgen/convert/traits.rs.html#122-129' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Abi-4' class="type"><code id='Abi.t-4'>type <a href='../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html#associatedtype.Abi' class="type">Abi</a> = &lt;T as <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a>&gt;::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code></h4><div class='docblock'><p>Same as <code>IntoWasmAbi::Abi</code></p>
</div><h4 id='method.return_abi' class="method hidden"><code id='return_abi.v'>fn <a href='../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html#tymethod.return_abi' class='fnname'>return_abi</a>(self) -&gt; &lt;T as <a class="trait" href="../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html" title="trait wasm_bindgen::convert::traits::ReturnWasmAbi">ReturnWasmAbi</a>&gt;::<a class="type" href="../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::ReturnWasmAbi::Abi">Abi</a></code><a class='srclink' href='../src/wasm_bindgen/convert/traits.rs.html#126-128' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Same as <code>IntoWasmAbi::into_abi</code>, except that it may throw and never return in the case of <code>Err</code>. <a href="../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html#tymethod.return_abi">Read more</a></p>
</div></div><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#80-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#602-611' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_from-1' class="method hidden"><code id='try_from.v-1'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#608-610' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#588-597' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#594-596' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "js_sys";</script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>