mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-30 16:12:16 +00:00
201 lines
122 KiB
HTML
201 lines
122 KiB
HTML
![]() |
<!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 `Navigator` struct in crate `web_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, Navigator"><title>web_sys::Navigator - 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">☰</div><a href='../web_sys/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Struct Navigator</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Methods</a><div class="sidebar-links"><a href="#method.active_vr_displays">active_vr_displays</a><a href="#method.app_code_name">app_code_name</a><a href="#method.app_name">app_name</a><a href="#method.app_version">app_version</a><a href="#method.clipboard">clipboard</a><a href="#method.connection">connection</a><a href="#method.credentials">credentials</a><a href="#method.do_not_track">do_not_track</a><a href="#method.geolocation">geolocation</a><a href="#method.get_gamepads">get_gamepads</a><a href="#method.get_vr_displays">get_vr_displays</a><a href="#method.gpu">gpu</a><a href="#method.hardware_concurrency">hardware_concurrency</a><a href="#method.language">language</a><a href="#method.languages">languages</a><a href="#method.max_touch_points">max_touch_points</a><a href="#method.media_capabilities">media_capabilities</a><a href="#method.media_devices">media_devices</a><a href="#method.mime_types">mime_types</a><a href="#method.on_line">on_line</a><a href="#method.permissions">permissions</a><a href="#method.platform">platform</a><a href="#method.plugins">plugins</a><a href="#method.presentation">presentation</a><a href="#method.product">product</a><a href="#method.register_content_handler">register_content_handler</a><a href="#method.register_protocol_handler">register_protocol_handler</a><a href="#method.request_gamepad_service_test">request_gamepad_service_test</a><a href="#method.request_media_key_system_access">request_media_key_system_access</a><a href="#method.request_midi_access">request_midi_access</a><a href="#method.request_midi_access_with_options">request_midi_access_with_options</a><a href="#method.request_vr_service_test">request_vr_service_test</a><a href="#method.send_beacon">send_beacon</a><a href="#method.send_beacon_with_opt_blob">send_beacon_with_opt_blob</a><a href="#method.send_beacon_with_opt_buffer_source">send_beacon_with_opt_buffer_source</a><a href="#method.send_beacon_with_opt_form_data">send_beacon_with_opt_form_data</a><a href="#method.send_beacon_with_opt_readable_stream">send_beacon_with_opt_readable_stream</a><a href="#method.send_beacon_with_opt_str">send_beacon_with_opt_str</a><a href="#method.send_beacon_with_opt_u8_array">send_beacon_with_opt_u8_array</a><a href="#method.send_beacon_with_opt_url_search_params">send_beacon_with_opt_url_search_params</a><a href="#method.service_worker">service_worker</a><a href="#method.storage">storage</a><a href="#method.taint_enabled">taint_enabled</a><a href="#method.user_agent">user_agent</a><a href="#method.vibrate_with_duration">vibrate_with_duration</a><a href="#method.vibrate_with_pattern">vibrate_with_pattern</a><a href="#method.xr">xr</a></div><a class="sidebar-title" href="#deref-meth
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div><h2 id='implementations' class='small-section-header'>Implementations<a href='#implementations' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.permissions' class="method"><code id='permissions.v'>pub fn <a href='#method.permissions' class='fnname'>permissions</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../web_sys/struct.Permissions.html" title="struct web_sys::Permissions">Permissions</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>permissions</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/permissions">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code>, <code>Permissions</code></em></p>
|
||
|
</div></div><h3 id='impl-1' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-1' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.mime_types' class="method"><code id='mime_types.v'>pub fn <a href='#method.mime_types' class='fnname'>mime_types</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../web_sys/struct.MimeTypeArray.html" title="struct web_sys::MimeTypeArray">MimeTypeArray</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>mimeTypes</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mimeTypes">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>MimeTypeArray</code>, <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-2' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-2' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.plugins' class="method"><code id='plugins.v'>pub fn <a href='#method.plugins' class='fnname'>plugins</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../web_sys/struct.PluginArray.html" title="struct web_sys::PluginArray">PluginArray</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>plugins</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/plugins">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code>, <code>PluginArray</code></em></p>
|
||
|
</div></div><h3 id='impl-3' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-3' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.do_not_track' class="method"><code id='do_not_track.v'>pub fn <a href='#method.do_not_track' class='fnname'>do_not_track</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>doNotTrack</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/doNotTrack">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-4' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-4' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.max_touch_points' class="method"><code id='max_touch_points.v'>pub fn <a href='#method.max_touch_points' class='fnname'>max_touch_points</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>maxTouchPoints</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/maxTouchPoints">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-5' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-5' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.media_capabilities' class="method"><code id='media_capabilities.v'>pub fn <a href='#method.media_capabilities' class='fnname'>media_capabilities</a>(&self) -> <a class="struct" href="../web_sys/struct.MediaCapabilities.html" title="struct web_sys::MediaCapabilities">MediaCapabilities</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>mediaCapabilities</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaCapabilities">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>MediaCapabilities</code>, <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-6' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-6' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.connection' class="method"><code id='connection.v'>pub fn <a href='#method.connection' class='fnname'>connection</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../web_sys/struct.NetworkInformation.html" title="struct web_sys::NetworkInformation">NetworkInformation</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>connection</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/connection">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code>, <code>NetworkInformation</code></em></p>
|
||
|
</div></div><h3 id='impl-7' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-7' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.active_vr_displays' class="method"><code id='active_vr_displays.v'>pub fn <a href='#method.active_vr_displays' class='fnname'>active_vr_displays</a>(&self) -> <a class="struct" href="../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>activeVRDisplays</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/activeVRDisplays">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-8' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-8' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.media_devices' class="method"><code id='media_devices.v'>pub fn <a href='#method.media_devices' class='fnname'>media_devices</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../web_sys/struct.MediaDevices.html" title="struct web_sys::MediaDevices">MediaDevices</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>mediaDevices</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/mediaDevices">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>MediaDevices</code>, <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-9' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-9' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.service_worker' class="method"><code id='service_worker.v'>pub fn <a href='#method.service_worker' class='fnname'>service_worker</a>(&self) -> <a class="struct" href="../web_sys/struct.ServiceWorkerContainer.html" title="struct web_sys::ServiceWorkerContainer">ServiceWorkerContainer</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>serviceWorker</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/serviceWorker">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code>, <code>ServiceWorkerContainer</code></em></p>
|
||
|
</div></div><h3 id='impl-10' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-10' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.presentation' class="method"><code id='presentation.v'>pub fn <a href='#method.presentation' class='fnname'>presentation</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../web_sys/struct.Presentation.html" title="struct web_sys::Presentation">Presentation</a>>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>presentation</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/presentation">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code>, <code>Presentation</code></em></p>
|
||
|
</div></div><h3 id='impl-11' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-11' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.credentials' class="method"><code id='credentials.v'>pub fn <a href='#method.credentials' class='fnname'>credentials</a>(&self) -> <a class="struct" href="../web_sys/struct.CredentialsContainer.html" title="struct web_sys::CredentialsContainer">CredentialsContainer</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>credentials</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/credentials">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>CredentialsContainer</code>, <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-12' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-12' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clipboard' class="method"><code id='clipboard.v'>pub fn <a href='#method.clipboard' class='fnname'>clipboard</a>(&self) -> <a class="struct" href="../web_sys/struct.Clipboard.html" title="struct web_sys::Clipboard">Clipboard</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>clipboard</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/clipboard">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Clipboard</code>, <code>Navigator</code></em></p>
|
||
|
<p><em>This API is unstable and requires <code>--cfg=web_sys_unstable_apis</code> to be activated, as
|
||
|
<a href="https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html">described in the <code>wasm-bindgen</code> guide</a></em></p>
|
||
|
</div></div><h3 id='impl-13' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-13' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.gpu' class="method"><code id='gpu.v'>pub fn <a href='#method.gpu' class='fnname'>gpu</a>(&self) -> <a class="struct" href="../web_sys/struct.Gpu.html" title="struct web_sys::Gpu">Gpu</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>gpu</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/gpu">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Gpu</code>, <code>Navigator</code></em></p>
|
||
|
<p><em>This API is unstable and requires <code>--cfg=web_sys_unstable_apis</code> to be activated, as
|
||
|
<a href="https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html">described in the <code>wasm-bindgen</code> guide</a></em></p>
|
||
|
</div></div><h3 id='impl-14' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-14' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.xr' class="method"><code id='xr.v'>pub fn <a href='#method.xr' class='fnname'>xr</a>(&self) -> <a class="struct" href="../web_sys/struct.Xr.html" title="struct web_sys::Xr">Xr</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>xr</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/xr">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code>, <code>Xr</code></em></p>
|
||
|
<p><em>This API is unstable and requires <code>--cfg=web_sys_unstable_apis</code> to be activated, as
|
||
|
<a href="https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html">described in the <code>wasm-bindgen</code> guide</a></em></p>
|
||
|
</div></div><h3 id='impl-15' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-15' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hardware_concurrency' class="method"><code id='hardware_concurrency.v'>pub fn <a href='#method.hardware_concurrency' class='fnname'>hardware_concurrency</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>hardwareConcurrency</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/hardwareConcurrency">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-16' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-16' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.geolocation' class="method"><code id='geolocation.v'>pub fn <a href='#method.geolocation' class='fnname'>geolocation</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../web_sys/struct.Geolocation.html" title="struct web_sys::Geolocation">Geolocation</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>geolocation</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/geolocation">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Geolocation</code>, <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-17' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-17' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.app_code_name' class="method"><code id='app_code_name.v'>pub fn <a href='#method.app_code_name' class='fnname'>app_code_name</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>appCodeName</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appCodeName">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-18' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-18' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.app_name' class="method"><code id='app_name.v'>pub fn <a href='#method.app_name' class='fnname'>app_name</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>appName</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appName">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-19' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-19' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.app_version' class="method"><code id='app_version.v'>pub fn <a href='#method.app_version' class='fnname'>app_version</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>appVersion</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/appVersion">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-20' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-20' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.platform' class="method"><code id='platform.v'>pub fn <a href='#method.platform' class='fnname'>platform</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>platform</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-21' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-21' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.user_agent' class="method"><code id='user_agent.v'>pub fn <a href='#method.user_agent' class='fnname'>user_agent</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>userAgent</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/userAgent">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-22' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-22' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.product' class="method"><code id='product.v'>pub fn <a href='#method.product' class='fnname'>product</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>product</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/product">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-23' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-23' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.language' class="method"><code id='language.v'>pub fn <a href='#method.language' class='fnname'>language</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>language</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/language">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-24' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-24' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.languages' class="method"><code id='languages.v'>pub fn <a href='#method.languages' class='fnname'>languages</a>(&self) -> <a class="struct" href="../js_sys/struct.Array.html" title="struct js_sys::Array">Array</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>languages</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/languages">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-25' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-25' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.on_line' class="method"><code id='on_line.v'>pub fn <a href='#method.on_line' class='fnname'>on_line</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>onLine</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-26' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-26' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.storage' class="method"><code id='storage.v'>pub fn <a href='#method.storage' class='fnname'>storage</a>(&self) -> <a class="struct" href="../web_sys/struct.StorageManager.html" title="struct web_sys::StorageManager">StorageManager</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>storage</code> field of this object.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/storage">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code>, <code>StorageManager</code></em></p>
|
||
|
</div></div><h3 id='impl-27' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-27' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_gamepads' class="method"><code id='get_gamepads.v'>pub fn <a href='#method.get_gamepads' class='fnname'>get_gamepads</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>getGamepads()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getGamepads">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-28' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-28' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_vr_displays' class="method"><code id='get_vr_displays.v'>pub fn <a href='#method.get_vr_displays' class='fnname'>get_vr_displays</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../js_sys/struct.Promise.html" title="struct js_sys::Promise">Promise</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>getVRDisplays()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getVRDisplays">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-29' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-29' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.request_gamepad_service_test' class="method"><code id='request_gamepad_service_test.v'>pub fn <a href='#method.request_gamepad_service_test' class='fnname'>request_gamepad_service_test</a>(&self) -> <a class="struct" href="../web_sys/struct.GamepadServiceTest.html" title="struct web_sys::GamepadServiceTest">GamepadServiceTest</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>requestGamepadServiceTest()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestGamepadServiceTest">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>GamepadServiceTest</code>, <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-30' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-30' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.request_midi_access' class="method"><code id='request_midi_access.v'>pub fn <a href='#method.request_midi_access' class='fnname'>request_midi_access</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../js_sys/struct.Promise.html" title="struct js_sys::Promise">Promise</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>requestMIDIAccess()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMIDIAccess">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-31' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-31' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.request_midi_access_with_options' class="method"><code id='request_midi_access_with_options.v'>pub fn <a href='#method.request_midi_access_with_options' class='fnname'>request_midi_access_with_options</a>(<br> &self, <br> options: &<a class="struct" href="../web_sys/struct.MidiOptions.html" title="struct web_sys::MidiOptions">MidiOptions</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="../js_sys/struct.Promise.html" title="struct js_sys::Promise">Promise</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>requestMIDIAccess()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMIDIAccess">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>MidiOptions</code>, <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-32' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-32' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.request_media_key_system_access' class="method"><code id='request_media_key_system_access.v'>pub fn <a href='#method.request_media_key_system_access' class='fnname'>request_media_key_system_access</a>(<br> &self, <br> key_system: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> supported_configurations: &<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a><br>) -> <a class="struct" href="../js_sys/struct.Promise.html" title="struct js_sys::Promise">Promise</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>requestMediaKeySystemAccess()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMediaKeySystemAccess">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-33' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-33' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.request_vr_service_test' class="method"><code id='request_vr_service_test.v'>pub fn <a href='#method.request_vr_service_test' class='fnname'>request_vr_service_test</a>(&self) -> <a class="struct" href="../web_sys/struct.VrServiceTest.html" title="struct web_sys::VrServiceTest">VrServiceTest</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>requestVRServiceTest()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestVRServiceTest">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code>, <code>VrServiceTest</code></em></p>
|
||
|
</div></div><h3 id='impl-34' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-34' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.send_beacon' class="method"><code id='send_beacon.v'>pub fn <a href='#method.send_beacon' class='fnname'>send_beacon</a>(&self, url: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>sendBeacon()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-35' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-35' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.send_beacon_with_opt_blob' class="method"><code id='send_beacon_with_opt_blob.v'>pub fn <a href='#method.send_beacon_with_opt_blob' class='fnname'>send_beacon_with_opt_blob</a>(<br> &self, <br> url: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> data: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../web_sys/struct.Blob.html" title="struct web_sys::Blob">Blob</a>><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>sendBeacon()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Blob</code>, <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-36' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-36' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.send_beacon_with_opt_buffer_source' class="method"><code id='send_beacon_with_opt_buffer_source.v'>pub fn <a href='#method.send_beacon_with_opt_buffer_source' class='fnname'>send_beacon_with_opt_buffer_source</a>(<br> &self, <br> url: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> data: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>sendBeacon()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-37' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-37' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.send_beacon_with_opt_u8_array' class="method"><code id='send_beacon_with_opt_u8_array.v'>pub fn <a href='#method.send_beacon_with_opt_u8_array' class='fnname'>send_beacon_with_opt_u8_array</a>(<br> &self, <br> url: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> data: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&mut [</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>sendBeacon()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-38' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-38' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.send_beacon_with_opt_form_data' class="method"><code id='send_beacon_with_opt_form_data.v'>pub fn <a href='#method.send_beacon_with_opt_form_data' class='fnname'>send_beacon_with_opt_form_data</a>(<br> &self, <br> url: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> data: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../web_sys/struct.FormData.html" title="struct web_sys::FormData">FormData</a>><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>sendBeacon()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>FormData</code>, <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-39' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-39' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.send_beacon_with_opt_url_search_params' class="method"><code id='send_beacon_with_opt_url_search_params.v'>pub fn <a href='#method.send_beacon_with_opt_url_search_params' class='fnname'>send_beacon_with_opt_url_search_params</a>(<br> &self, <br> url: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> data: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../web_sys/struct.UrlSearchParams.html" title="struct web_sys::UrlSearchParams">UrlSearchParams</a>><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>sendBeacon()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code>, <code>UrlSearchParams</code></em></p>
|
||
|
</div></div><h3 id='impl-40' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-40' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.send_beacon_with_opt_str' class="method"><code id='send_beacon_with_opt_str.v'>pub fn <a href='#method.send_beacon_with_opt_str' class='fnname'>send_beacon_with_opt_str</a>(<br> &self, <br> url: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> data: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>sendBeacon()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-41' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-41' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.send_beacon_with_opt_readable_stream' class="method"><code id='send_beacon_with_opt_readable_stream.v'>pub fn <a href='#method.send_beacon_with_opt_readable_stream' class='fnname'>send_beacon_with_opt_readable_stream</a>(<br> &self, <br> url: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> data: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="struct" href="../web_sys/struct.ReadableStream.html" title="struct web_sys::ReadableStream">ReadableStream</a>><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<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>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>sendBeacon()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/sendBeacon">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code>, <code>ReadableStream</code></em></p>
|
||
|
</div></div><h3 id='impl-42' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-42' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.vibrate_with_duration' class="method"><code id='vibrate_with_duration.v'>pub fn <a href='#method.vibrate_with_duration' class='fnname'>vibrate_with_duration</a>(&self, duration: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>vibrate()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-43' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-43' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.vibrate_with_pattern' class="method"><code id='vibrate_with_pattern.v'>pub fn <a href='#method.vibrate_with_pattern' class='fnname'>vibrate_with_pattern</a>(&self, pattern: &<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>vibrate()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-44' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-44' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.register_content_handler' class="method"><code id='register_content_handler.v'>pub fn <a href='#method.register_content_handler' class='fnname'>register_content_handler</a>(<br> &self, <br> mime_type: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> url: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> title: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>registerContentHandler()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerContentHandler">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-45' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-45' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.register_protocol_handler' class="method"><code id='register_protocol_handler.v'>pub fn <a href='#method.register_protocol_handler' class='fnname'>register_protocol_handler</a>(<br> &self, <br> scheme: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> url: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> title: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>registerProtocolHandler()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></p>
|
||
|
</div></div><h3 id='impl-46' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-46' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.taint_enabled' class="method"><code id='taint_enabled.v'>pub fn <a href='#method.taint_enabled' class='fnname'>taint_enabled</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>taintEnabled()</code> method.</p>
|
||
|
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator/taintEnabled">MDN Documentation</a></p>
|
||
|
<p><em>This API requires the following crate features to be activated: <code>Navigator</code></em></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><<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>> for <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-AsRef%3CJsValue%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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>(&self) -> &<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
|
</div></div><h3 id='impl-AsRef%3CNavigator%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><<a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a>> for <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-AsRef%3CNavigator%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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>(&self) -> &<a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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><<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>> for <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-AsRef%3CObject%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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>(&self) -> &<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#7' 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>(&self) -> <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#7' 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>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#7' 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>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -> <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/web_sys/features/gen_Navigator.rs.html#7' 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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-Deref' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</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>(&self) -> &<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#7' title='goto source code'>[src]</a></h3><div class='impl-items'></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><<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>> for <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-From%3CJsValue%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -> <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
|
</div></div><h3 id='impl-From%3CNavigator%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><<a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a>> for <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a href='#impl-From%3CNavigator%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a>) -> <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||
|
</div></div><h3 id='impl-From%3CNavigator%3E-1' 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><<a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a>> for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CNavigator%3E-1' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a>) -> <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-FromWasmAbi' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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> = <<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>>::<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>) -> Self</code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-IntoWasmAbi' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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> = <<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>>::<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) -> 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/web_sys/features/gen_Navigator.rs.html#4' 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<'a> <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a> for &'a <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-IntoWasmAbi-1' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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> = <&'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>>::<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) -> 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/web_sys/features/gen_Navigator.rs.html#4' 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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-JsCast' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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: &<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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>) -> Self</code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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: &<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self</code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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_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><T>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>, </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><T>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, Self> <span class="where fmt-newline">where<br> T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>, </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><T>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T> <span class="where fmt-newline">where<br> T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>, </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><T>(self) -> T <span class="where fmt-newline">where<br> T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>, </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><T>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T <span class="where fmt-newline">where<br> T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>, </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><T>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br> T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>, </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: &<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -> <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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-OptionFromWasmAbi' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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: &Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::FromWasmAbi::Abi">Abi</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Tests whether the argument is a "none" 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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-OptionIntoWasmAbi' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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>() -> 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/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an ABI instance indicating "none", 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<'a> <a class="trait" href="../wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::OptionIntoWasmAbi">OptionIntoWasmAbi</a> for &'a <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-OptionIntoWasmAbi-1' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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>() -> 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/web_sys/features/gen_Navigator.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an ABI instance indicating "none", 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%3CNavigator%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><<a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a>> for <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-PartialEq%3CNavigator%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#7' 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>(&self, other: &<a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#7' 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'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&self, other: &<a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#7' 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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-RefFromWasmAbi' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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> = <<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>>::<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><<a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a>></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>&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>) -> 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/web_sys/features/gen_Navigator.rs.html#4' 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-StructuralEq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralEq.html" title="trait core::marker::StructuralEq">StructuralEq</a> for <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-StructuralEq' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#7' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-StructuralPartialEq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-StructuralPartialEq' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#7' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-WasmDescribe' class='impl'><code class='in-band'>impl WasmDescribe for <a class="struct" href="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</a></code><a href='#impl-WasmDescribe' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Navigator.rs.html#4' 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/web_sys/features/gen_Navigator.rs.html#4' 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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</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="../web_sys/struct.Navigator.html" title="struct web_sys::Navigator">Navigator</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='im
|
||
|
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </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>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</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<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </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>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&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<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> 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-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>(t: T) -> 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<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </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) -> 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<T> <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> T: <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a>, </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> = <T as <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a>>::<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) -> <T as <a class="trait" href="../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html" title="trait wasm_bindgen::convert::traits::ReturnWasmAbi">ReturnWasmAbi</a>>::<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<T> <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> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </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>(&self) -> 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>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&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<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </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' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<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><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<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </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> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<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) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<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><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 = "web_sys";</script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>
|