Deploy 64e53a5502 to gh-pages

This commit is contained in:
Deploy from CI
2020-06-11 14:25:32 +00:00
commit dd4cea1b3d
4821 changed files with 579561 additions and 0 deletions

View File

@ -0,0 +1,4 @@
<!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 `apply` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, apply"><title>js_sys::Reflect::apply - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'apply', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>apply</a></span></h1><pre class='rust fn'>pub fn apply(<br>&nbsp;&nbsp;&nbsp;&nbsp;target: &amp;<a class="struct" href="../../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;this_argument: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;arguments_list: &amp;<a class="struct" href="../../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a><br>) -&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="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.apply()</code> method calls a target function with
arguments as specified.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/apply">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,5 @@
<!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 `construct` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, construct"><title>js_sys::Reflect::construct - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'construct', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>construct</a></span></h1><pre class='rust fn'>pub fn construct(<br>&nbsp;&nbsp;&nbsp;&nbsp;target: &amp;<a class="struct" href="../../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;arguments_list: &amp;<a class="struct" href="../../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a><br>) -&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="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.construct()</code> method acts like the new operator, but
as a function. It is equivalent to calling <code>new target(...args)</code>. It
gives also the added option to specify a different prototype.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/construct">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,5 @@
<!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 `construct_with_new_target` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, construct_with_new_target"><title>js_sys::Reflect::construct_with_new_target - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'construct_with_new_target', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>construct_with_new_target</a></span></h1><pre class='rust fn'>pub fn construct_with_new_target(<br>&nbsp;&nbsp;&nbsp;&nbsp;target: &amp;<a class="struct" href="../../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;arguments_list: &amp;<a class="struct" href="../../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;new_target: &amp;<a class="struct" href="../../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a><br>) -&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="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.construct()</code> method acts like the new operator, but
as a function. It is equivalent to calling <code>new target(...args)</code>. It
gives also the added option to specify a different prototype.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/construct">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,4 @@
<!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 `define_property` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, define_property"><title>js_sys::Reflect::define_property - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'define_property', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>define_property</a></span></h1><pre class='rust fn'>pub fn define_property(<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;property_key: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;attributes: &amp;<a class="struct" href="../../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a><br>) -&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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.defineProperty()</code> method is like
<code>Object.defineProperty()</code> but returns a <code>Boolean</code>.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/defineProperty">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,4 @@
<!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 `delete_property` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, delete_property"><title>js_sys::Reflect::delete_property - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'delete_property', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>delete_property</a></span></h1><pre class='rust fn'>pub fn delete_property(target: &amp;<a class="struct" href="../../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>, key: &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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.deleteProperty()</code> method allows to delete
properties. It is like the <code>delete</code> operator as a function.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/deleteProperty">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,4 @@
<!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 `get` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, get"><title>js_sys::Reflect::get - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'get', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>get</a></span></h1><pre class='rust fn'>pub fn get(target: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, key: &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="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.get()</code> method works like getting a property from
an object (<code>target[propertyKey]</code>) as a function.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/get">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,3 @@
<!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 `get_f64` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, get_f64"><title>js_sys::Reflect::get_f64 - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'get_f64', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>get_f64</a></span></h1><pre class='rust fn'>pub fn get_f64(target: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</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="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The same as <a href="fn.get.html"><code>get</code></a>
except the key is an <code>f64</code>, which is slightly faster.</p>
</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>

View File

@ -0,0 +1,5 @@
<!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 `get_own_property_descriptor` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, get_own_property_descriptor"><title>js_sys::Reflect::get_own_property_descriptor - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'get_own_property_descriptor', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>get_own_property_descriptor</a></span></h1><pre class='rust fn'>pub fn get_own_property_descriptor(<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;property_key: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&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="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.getOwnPropertyDescriptor()</code> method is similar to
<code>Object.getOwnPropertyDescriptor()</code>. It returns a property descriptor
of the given property if it exists on the object, <code>undefined</code> otherwise.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/getOwnPropertyDescriptor">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,6 @@
<!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 `get_prototype_of` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, get_prototype_of"><title>js_sys::Reflect::get_prototype_of - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'get_prototype_of', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>get_prototype_of</a></span></h1><pre class='rust fn'>pub fn get_prototype_of(target: &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;</pre><div class='docblock'><p>The static <code>Reflect.getPrototypeOf()</code> method is almost the same
method as <code>Object.getPrototypeOf()</code>. It returns the prototype
(i.e. the value of the internal <code>[[Prototype]]</code> property) of
the specified object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/getPrototypeOf">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,3 @@
<!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 `get_u32` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, get_u32"><title>js_sys::Reflect::get_u32 - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'get_u32', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>get_u32</a></span></h1><pre class='rust fn'>pub fn get_u32(target: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</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="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The same as <a href="fn.get.html"><code>get</code></a>
except the key is a <code>u32</code>, which is slightly faster.</p>
</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>

View File

@ -0,0 +1,4 @@
<!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 `has` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, has"><title>js_sys::Reflect::has - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'has', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>has</a></span></h1><pre class='rust fn'>pub fn has(target: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, property_key: &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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.has()</code> method works like the in operator as a
function.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/has">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,5 @@
<!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 `is_extensible` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, is_extensible"><title>js_sys::Reflect::is_extensible - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'is_extensible', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>is_extensible</a></span></h1><pre class='rust fn'>pub fn is_extensible(target: &amp;<a class="struct" href="../../js_sys/struct.Object.html" title="struct js_sys::Object">Object</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.isExtensible()</code> method determines if an object is
extensible (whether it can have new properties added to it). It is
similar to <code>Object.isExtensible()</code>, but with some differences.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/isExtensible">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,4 @@
<!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 `own_keys` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, own_keys"><title>js_sys::Reflect::own_keys - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'own_keys', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>own_keys</a></span></h1><pre class='rust fn'>pub fn own_keys(target: &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.Array.html" title="struct js_sys::Array">Array</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.ownKeys()</code> method returns an array of the
target object's own property keys.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,6 @@
<!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 `prevent_extensions` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, prevent_extensions"><title>js_sys::Reflect::prevent_extensions - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'prevent_extensions', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>prevent_extensions</a></span></h1><pre class='rust fn'>pub fn prevent_extensions(target: &amp;<a class="struct" href="../../js_sys/struct.Object.html" title="struct js_sys::Object">Object</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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.preventExtensions()</code> method prevents new
properties from ever being added to an object (i.e. prevents
future extensions to the object). It is similar to
<code>Object.preventExtensions()</code>, but with some differences.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/preventExtensions">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,4 @@
<!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 `set` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, set"><title>js_sys::Reflect::set - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'set', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>set</a></span></h1><pre class='rust fn'>pub fn set(<br>&nbsp;&nbsp;&nbsp;&nbsp;target: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;property_key: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.set()</code> method works like setting a
property on an object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/set">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,3 @@
<!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 `set_f64` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, set_f64"><title>js_sys::Reflect::set_f64 - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'set_f64', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>set_f64</a></span></h1><pre class='rust fn'>pub fn set_f64(<br>&nbsp;&nbsp;&nbsp;&nbsp;target: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;property_key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The same as <a href="fn.set.html"><code>set</code></a>
except the key is an <code>f64</code>, which is slightly faster.</p>
</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>

View File

@ -0,0 +1,6 @@
<!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 `set_prototype_of` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, set_prototype_of"><title>js_sys::Reflect::set_prototype_of - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'set_prototype_of', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>set_prototype_of</a></span></h1><pre class='rust fn'>pub fn set_prototype_of(<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;prototype: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.setPrototypeOf()</code> method is the same
method as <code>Object.setPrototypeOf()</code>. It sets the prototype
(i.e., the internal <code>[[Prototype]]</code> property) of a specified
object to another object or to null.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/setPrototypeOf">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,3 @@
<!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 `set_u32` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, set_u32"><title>js_sys::Reflect::set_u32 - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'set_u32', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>set_u32</a></span></h1><pre class='rust fn'>pub fn set_u32(<br>&nbsp;&nbsp;&nbsp;&nbsp;target: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;property_key: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The same as <a href="fn.set.html"><code>set</code></a>
except the key is a <code>u32</code>, which is slightly faster.</p>
</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>

View File

@ -0,0 +1,4 @@
<!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 `set_with_receiver` fn in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, set_with_receiver"><title>js_sys::Reflect::set_with_receiver - 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 fn"><!--[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><div class="sidebar-elems"><p class='location'><a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a></p><script>window.sidebarCurrent = {name: 'set_with_receiver', ty: 'fn', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2750' title='goto source code'>[src]</a></span><span class='in-band'>Function <a href='../index.html'>js_sys</a>::<wbr><a href='index.html'>Reflect</a>::<wbr><a class="fn" href=''>set_with_receiver</a></span></h1><pre class='rust fn'>pub fn set_with_receiver(<br>&nbsp;&nbsp;&nbsp;&nbsp;target: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;property_key: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;receiver: &amp;<a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -&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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="struct" href="../../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</pre><div class='docblock'><p>The static <code>Reflect.set()</code> method works like setting a
property on an object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/set">MDN documentation</a></p>
</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>

View File

@ -0,0 +1,50 @@
<!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 `Reflect` mod in crate `js_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, Reflect"><title>js_sys::Reflect - 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 mod"><!--[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'>Module Reflect</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#functions">Functions</a></li></ul></div><p class='location'><a href='../index.html'>js_sys</a></p><script>window.sidebarCurrent = {name: 'Reflect', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/js_sys/lib.rs.html#2746-2919' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../index.html'>js_sys</a>::<wbr><a class="mod" href=''>Reflect</a></span></h1><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
<table><tr class='module-item'><td><a class="fn" href="fn.apply.html" title='js_sys::Reflect::apply fn'>apply</a></td><td class='docblock-short'><p>The static <code>Reflect.apply()</code> method calls a target function with
arguments as specified.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.construct.html" title='js_sys::Reflect::construct fn'>construct</a></td><td class='docblock-short'><p>The static <code>Reflect.construct()</code> method acts like the new operator, but
as a function. It is equivalent to calling <code>new target(...args)</code>. It
gives also the added option to specify a different prototype.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.construct_with_new_target.html" title='js_sys::Reflect::construct_with_new_target fn'>construct_with_new_target</a></td><td class='docblock-short'><p>The static <code>Reflect.construct()</code> method acts like the new operator, but
as a function. It is equivalent to calling <code>new target(...args)</code>. It
gives also the added option to specify a different prototype.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.define_property.html" title='js_sys::Reflect::define_property fn'>define_property</a></td><td class='docblock-short'><p>The static <code>Reflect.defineProperty()</code> method is like
<code>Object.defineProperty()</code> but returns a <code>Boolean</code>.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.delete_property.html" title='js_sys::Reflect::delete_property fn'>delete_property</a></td><td class='docblock-short'><p>The static <code>Reflect.deleteProperty()</code> method allows to delete
properties. It is like the <code>delete</code> operator as a function.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.get.html" title='js_sys::Reflect::get fn'>get</a></td><td class='docblock-short'><p>The static <code>Reflect.get()</code> method works like getting a property from
an object (<code>target[propertyKey]</code>) as a function.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.get_f64.html" title='js_sys::Reflect::get_f64 fn'>get_f64</a></td><td class='docblock-short'><p>The same as <a href="fn.get.html"><code>get</code></a>
except the key is an <code>f64</code>, which is slightly faster.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.get_own_property_descriptor.html" title='js_sys::Reflect::get_own_property_descriptor fn'>get_own_property_descriptor</a></td><td class='docblock-short'><p>The static <code>Reflect.getOwnPropertyDescriptor()</code> method is similar to
<code>Object.getOwnPropertyDescriptor()</code>. It returns a property descriptor
of the given property if it exists on the object, <code>undefined</code> otherwise.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.get_prototype_of.html" title='js_sys::Reflect::get_prototype_of fn'>get_prototype_of</a></td><td class='docblock-short'><p>The static <code>Reflect.getPrototypeOf()</code> method is almost the same
method as <code>Object.getPrototypeOf()</code>. It returns the prototype
(i.e. the value of the internal <code>[[Prototype]]</code> property) of
the specified object.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.get_u32.html" title='js_sys::Reflect::get_u32 fn'>get_u32</a></td><td class='docblock-short'><p>The same as <a href="fn.get.html"><code>get</code></a>
except the key is a <code>u32</code>, which is slightly faster.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.has.html" title='js_sys::Reflect::has fn'>has</a></td><td class='docblock-short'><p>The static <code>Reflect.has()</code> method works like the in operator as a
function.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.is_extensible.html" title='js_sys::Reflect::is_extensible fn'>is_extensible</a></td><td class='docblock-short'><p>The static <code>Reflect.isExtensible()</code> method determines if an object is
extensible (whether it can have new properties added to it). It is
similar to <code>Object.isExtensible()</code>, but with some differences.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.own_keys.html" title='js_sys::Reflect::own_keys fn'>own_keys</a></td><td class='docblock-short'><p>The static <code>Reflect.ownKeys()</code> method returns an array of the
target object's own property keys.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.prevent_extensions.html" title='js_sys::Reflect::prevent_extensions fn'>prevent_extensions</a></td><td class='docblock-short'><p>The static <code>Reflect.preventExtensions()</code> method prevents new
properties from ever being added to an object (i.e. prevents
future extensions to the object). It is similar to
<code>Object.preventExtensions()</code>, but with some differences.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.set.html" title='js_sys::Reflect::set fn'>set</a></td><td class='docblock-short'><p>The static <code>Reflect.set()</code> method works like setting a
property on an object.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.set_f64.html" title='js_sys::Reflect::set_f64 fn'>set_f64</a></td><td class='docblock-short'><p>The same as <a href="fn.set.html"><code>set</code></a>
except the key is an <code>f64</code>, which is slightly faster.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.set_prototype_of.html" title='js_sys::Reflect::set_prototype_of fn'>set_prototype_of</a></td><td class='docblock-short'><p>The static <code>Reflect.setPrototypeOf()</code> method is the same
method as <code>Object.setPrototypeOf()</code>. It sets the prototype
(i.e., the internal <code>[[Prototype]]</code> property) of a specified
object to another object or to null.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.set_u32.html" title='js_sys::Reflect::set_u32 fn'>set_u32</a></td><td class='docblock-short'><p>The same as <a href="fn.set.html"><code>set</code></a>
except the key is a <code>u32</code>, which is slightly faster.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.set_with_receiver.html" title='js_sys::Reflect::set_with_receiver fn'>set_with_receiver</a></td><td class='docblock-short'><p>The static <code>Reflect.set()</code> method works like setting a
property on an object.</p>
</td></tr></table></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>

View File

@ -0,0 +1 @@
initSidebarItems({"fn":[["apply","The static `Reflect.apply()` method calls a target function with arguments as specified."],["construct","The static `Reflect.construct()` method acts like the new operator, but as a function. It is equivalent to calling `new target(...args)`. It gives also the added option to specify a different prototype."],["construct_with_new_target","The static `Reflect.construct()` method acts like the new operator, but as a function. It is equivalent to calling `new target(...args)`. It gives also the added option to specify a different prototype."],["define_property","The static `Reflect.defineProperty()` method is like `Object.defineProperty()` but returns a `Boolean`."],["delete_property","The static `Reflect.deleteProperty()` method allows to delete properties. It is like the `delete` operator as a function."],["get","The static `Reflect.get()` method works like getting a property from an object (`target[propertyKey]`) as a function."],["get_f64","The same as `get` except the key is an `f64`, which is slightly faster."],["get_own_property_descriptor","The static `Reflect.getOwnPropertyDescriptor()` method is similar to `Object.getOwnPropertyDescriptor()`. It returns a property descriptor of the given property if it exists on the object, `undefined` otherwise."],["get_prototype_of","The static `Reflect.getPrototypeOf()` method is almost the same method as `Object.getPrototypeOf()`. It returns the prototype (i.e. the value of the internal `[[Prototype]]` property) of the specified object."],["get_u32","The same as `get` except the key is a `u32`, which is slightly faster."],["has","The static `Reflect.has()` method works like the in operator as a function."],["is_extensible","The static `Reflect.isExtensible()` method determines if an object is extensible (whether it can have new properties added to it). It is similar to `Object.isExtensible()`, but with some differences."],["own_keys","The static `Reflect.ownKeys()` method returns an array of the target object's own property keys."],["prevent_extensions","The static `Reflect.preventExtensions()` method prevents new properties from ever being added to an object (i.e. prevents future extensions to the object). It is similar to `Object.preventExtensions()`, but with some differences."],["set","The static `Reflect.set()` method works like setting a property on an object."],["set_f64","The same as `set` except the key is an `f64`, which is slightly faster."],["set_prototype_of","The static `Reflect.setPrototypeOf()` method is the same method as `Object.setPrototypeOf()`. It sets the prototype (i.e., the internal `[[Prototype]]` property) of a specified object to another object or to null."],["set_u32","The same as `set` except the key is a `u32`, which is slightly faster."],["set_with_receiver","The static `Reflect.set()` method works like setting a property on an object."]]});