wasm-bindgen/api/web_sys/struct.Notification.html

179 lines
121 KiB
HTML
Raw Normal View History

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Notification` struct in crate `web_sys`."><meta name="keywords" content="rust, rustlang, rust-lang, Notification"><title>web_sys::Notification - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../dark.css"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../web_sys/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Struct Notification</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Methods</a><div class="sidebar-links"><a href="#method.body">body</a><a href="#method.close">close</a><a href="#method.data">data</a><a href="#method.dir">dir</a><a href="#method.get">get</a><a href="#method.get_with_filter">get_with_filter</a><a href="#method.icon">icon</a><a href="#method.lang">lang</a><a href="#method.new">new</a><a href="#method.new_with_options">new_with_options</a><a href="#method.onclick">onclick</a><a href="#method.onclose">onclose</a><a href="#method.onerror">onerror</a><a href="#method.onshow">onshow</a><a href="#method.permission">permission</a><a href="#method.request_permission">request_permission</a><a href="#method.request_permission_with_permission_callback">request_permission_with_permission_callback</a><a href="#method.require_interaction">require_interaction</a><a href="#method.set_onclick">set_onclick</a><a href="#method.set_onclose">set_onclose</a><a href="#method.set_onerror">set_onerror</a><a href="#method.set_onshow">set_onshow</a><a href="#method.tag">tag</a><a href="#method.title">title</a></div><a class="sidebar-title" href="#deref-methods">Methods from Deref&lt;Target=EventTarget&gt;</a><div class="sidebar-links"><a href="#method.add_event_listener_with_callback">add_event_listener_with_callback</a><a href="#method.add_event_listener_with_callback_and_add_event_listener_options">add_event_listener_with_callback_and_add_event_listener_options</a><a href="#method.add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted">add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted</a><a href="#method.add_event_listener_with_callback_and_bool">add_event_listener_with_callback_and_bool</a><a href="#method.add_event_listener_with_callback_and_bool_and_wants_untrusted">add_event_listener_with_callback_and_bool_and_wants_untrusted</a><a href="#method.add_event_listener_with_event_listener">add_event_listener_with_event_listener</a><a href="#method.add_event_listener_with_event_listener_and_add_event_listener_options">add_event_listener_with_event_listener_and_add_event_listener_options</a><a href="#method.add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted">add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted</a><a href="#method.add_event_listener_with_event_listener_and_bool">add_event_listener_with_event_listener_and_bool</a><a href="#method.add_event_listener_with_event_listener_and_bool_and_wants_untrusted">add_event_listener_with_event_listener_and_bool_and_wants_untrusted</a><a href="#method.dispatch_event">dispatch_event</a><a href="#method.remove_event_listener_with_callback">remove_event_l
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</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.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.permission' class="method"><code id='permission.v'>pub fn <a href='#method.permission' class='fnname'>permission</a>() -&gt; <a class="enum" href="../web_sys/enum.NotificationPermission.html" title="enum web_sys::NotificationPermission">NotificationPermission</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>permission</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/permission">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code>, <code>NotificationPermission</code></em></p>
</div></div><h3 id='impl-1' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-1' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.onclick' class="method"><code id='onclick.v'>pub fn <a href='#method.onclick' class='fnname'>onclick</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>onclick</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclick">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-2' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-2' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.set_onclick' class="method"><code id='set_onclick.v'>pub fn <a href='#method.set_onclick' class='fnname'>set_onclick</a>(&amp;self, value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>&gt;)</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Setter for the <code>onclick</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclick">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-3' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-3' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.onshow' class="method"><code id='onshow.v'>pub fn <a href='#method.onshow' class='fnname'>onshow</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>onshow</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/onshow">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-4' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-4' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.set_onshow' class="method"><code id='set_onshow.v'>pub fn <a href='#method.set_onshow' class='fnname'>set_onshow</a>(&amp;self, value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>&gt;)</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Setter for the <code>onshow</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/onshow">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-5' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-5' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.onerror' class="method"><code id='onerror.v'>pub fn <a href='#method.onerror' class='fnname'>onerror</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>onerror</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/onerror">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-6' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-6' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.set_onerror' class="method"><code id='set_onerror.v'>pub fn <a href='#method.set_onerror' class='fnname'>set_onerror</a>(&amp;self, value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>&gt;)</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Setter for the <code>onerror</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/onerror">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-7' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-7' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.onclose' class="method"><code id='onclose.v'>pub fn <a href='#method.onclose' class='fnname'>onclose</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>onclose</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclose">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-8' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-8' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.set_onclose' class="method"><code id='set_onclose.v'>pub fn <a href='#method.set_onclose' class='fnname'>set_onclose</a>(&amp;self, value: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>&gt;)</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Setter for the <code>onclose</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/onclose">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-9' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-9' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.title' class="method"><code id='title.v'>pub fn <a href='#method.title' class='fnname'>title</a>(&amp;self) -&gt; <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_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>title</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/title">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-10' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-10' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.dir' class="method"><code id='dir.v'>pub fn <a href='#method.dir' class='fnname'>dir</a>(&amp;self) -&gt; <a class="enum" href="../web_sys/enum.NotificationDirection.html" title="enum web_sys::NotificationDirection">NotificationDirection</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>dir</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/dir">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code>, <code>NotificationDirection</code></em></p>
</div></div><h3 id='impl-11' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-11' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.lang' class="method"><code id='lang.v'>pub fn <a href='#method.lang' class='fnname'>lang</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>lang</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/lang">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-12' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-12' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.body' class="method"><code id='body.v'>pub fn <a href='#method.body' class='fnname'>body</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>body</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/body">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-13' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-13' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.tag' class="method"><code id='tag.v'>pub fn <a href='#method.tag' class='fnname'>tag</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>tag</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/tag">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-14' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-14' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.icon' class="method"><code id='icon.v'>pub fn <a href='#method.icon' class='fnname'>icon</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>icon</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/icon">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-15' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-15' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.require_interaction' class="method"><code id='require_interaction.v'>pub fn <a href='#method.require_interaction' class='fnname'>require_interaction</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>requireInteraction</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/requireInteraction">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-16' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-16' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.data' class="method"><code id='data.v'>pub fn <a href='#method.data' class='fnname'>data</a>(&amp;self) -&gt; <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_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>Getter for the <code>data</code> field of this object.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/data">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-17' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-17' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.new' class="method"><code id='new.v'>pub fn <a href='#method.new' class='fnname'>new</a>(title: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>new Notification(..)</code> constructor, creating a new instance of <code>Notification</code>.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-18' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-18' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.new_with_options' class="method"><code id='new_with_options.v'>pub fn <a href='#method.new_with_options' class='fnname'>new_with_options</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;title: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: &amp;<a class="struct" href="../web_sys/struct.NotificationOptions.html" title="struct web_sys::NotificationOptions">NotificationOptions</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>new Notification(..)</code> constructor, creating a new instance of <code>Notification</code>.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/Notification">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code>, <code>NotificationOptions</code></em></p>
</div></div><h3 id='impl-19' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-19' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.close' class="method"><code id='close.v'>pub fn <a href='#method.close' class='fnname'>close</a>(&amp;self)</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>close()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/close">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-20' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-20' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get' class="method"><code id='get.v'>pub fn <a href='#method.get' class='fnname'>get</a>() -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../js_sys/struct.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>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>get()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/get">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-21' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-21' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.get_with_filter' class="method"><code id='get_with_filter.v'>pub fn <a href='#method.get_with_filter' class='fnname'>get_with_filter</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;filter: &amp;<a class="struct" href="../web_sys/struct.GetNotificationOptions.html" title="struct web_sys::GetNotificationOptions">GetNotificationOptions</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../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>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>get()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/get">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>GetNotificationOptions</code>, <code>Notification</code></em></p>
</div></div><h3 id='impl-22' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-22' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.request_permission' class="method"><code id='request_permission.v'>pub fn <a href='#method.request_permission' class='fnname'>request_permission</a>() -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../js_sys/struct.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>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>requestPermission()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h3 id='impl-23' class='impl'><code class='in-band'>impl <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-23' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.request_permission_with_permission_callback' class="method"><code id='request_permission_with_permission_callback.v'>pub fn <a href='#method.request_permission_with_permission_callback' class='fnname'>request_permission_with_permission_callback</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;permission_callback: &amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../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>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>requestPermission()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Notification/requestPermission">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Notification</code></em></p>
</div></div><h2 id='deref-methods' class='small-section-header'>Methods from <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>&lt;Target = <a class="struct" href="../web_sys/struct.EventTarget.html" title="struct web_sys::EventTarget">EventTarget</a>&gt;<a href='#deref-methods' class='anchor'></a></h2><div class='impl-items'></div><div class='impl-items'><h4 id='method.add_event_listener_with_callback' class="method"><code id='add_event_listener_with_callback.v'>pub fn <a href='#method.add_event_listener_with_callback' class='fnname'>add_event_listener_with_callback</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="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>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>addEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.add_event_listener_with_event_listener' class="method"><code id='add_event_listener_with_event_listener.v'>pub fn <a href='#method.add_event_listener_with_event_listener' class='fnname'>add_event_listener_with_event_listener</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../web_sys/struct.EventListener.html" title="struct web_sys::EventListener">EventListener</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>addEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>EventListener</code>, <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.add_event_listener_with_callback_and_add_event_listener_options' class="method"><code id='add_event_listener_with_callback_and_add_event_listener_options.v'>pub fn <a href='#method.add_event_listener_with_callback_and_add_event_listener_options' class='fnname'>add_event_listener_with_callback_and_add_event_listener_options</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: &amp;<a class="struct" href="../web_sys/struct.AddEventListenerOptions.html" title="struct web_sys::AddEventListenerOptions">AddEventListenerOptions</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>addEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>AddEventListenerOptions</code>, <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.add_event_listener_with_event_listener_and_add_event_listener_options' class="method"><code id='add_event_listener_with_event_listener_and_add_event_listener_options.v'>pub fn <a href='#method.add_event_listener_with_event_listener_and_add_event_listener_options' class='fnname'>add_event_listener_with_event_listener_and_add_event_listener_options</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../web_sys/struct.EventListener.html" title="struct web_sys::EventListener">EventListener</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: &amp;<a class="struct" href="../web_sys/struct.AddEventListenerOptions.html" title="struct web_sys::AddEventListenerOptions">AddEventListenerOptions</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>addEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>AddEventListenerOptions</code>, <code>EventListener</code>, <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.add_event_listener_with_callback_and_bool' class="method"><code id='add_event_listener_with_callback_and_bool.v'>pub fn <a href='#method.add_event_listener_with_callback_and_bool' class='fnname'>add_event_listener_with_callback_and_bool</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>addEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.add_event_listener_with_event_listener_and_bool' class="method"><code id='add_event_listener_with_event_listener_and_bool.v'>pub fn <a href='#method.add_event_listener_with_event_listener_and_bool' class='fnname'>add_event_listener_with_event_listener_and_bool</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../web_sys/struct.EventListener.html" title="struct web_sys::EventListener">EventListener</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>addEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>EventListener</code>, <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted' class="method"><code id='add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted.v'>pub fn <a href='#method.add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted' class='fnname'>add_event_listener_with_callback_and_add_event_listener_options_and_wants_untrusted</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: &amp;<a class="struct" href="../web_sys/struct.AddEventListenerOptions.html" title="struct web_sys::AddEventListenerOptions">AddEventListenerOptions</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;wants_untrusted: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>addEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>AddEventListenerOptions</code>, <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted' class="method"><code id='add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted.v'>pub fn <a href='#method.add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted' class='fnname'>add_event_listener_with_event_listener_and_add_event_listener_options_and_wants_untrusted</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../web_sys/struct.EventListener.html" title="struct web_sys::EventListener">EventListener</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: &amp;<a class="struct" href="../web_sys/struct.AddEventListenerOptions.html" title="struct web_sys::AddEventListenerOptions">AddEventListenerOptions</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;wants_untrusted: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>addEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>AddEventListenerOptions</code>, <code>EventListener</code>, <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.add_event_listener_with_callback_and_bool_and_wants_untrusted' class="method"><code id='add_event_listener_with_callback_and_bool_and_wants_untrusted.v'>pub fn <a href='#method.add_event_listener_with_callback_and_bool_and_wants_untrusted' class='fnname'>add_event_listener_with_callback_and_bool_and_wants_untrusted</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;wants_untrusted: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>addEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.add_event_listener_with_event_listener_and_bool_and_wants_untrusted' class="method"><code id='add_event_listener_with_event_listener_and_bool_and_wants_untrusted.v'>pub fn <a href='#method.add_event_listener_with_event_listener_and_bool_and_wants_untrusted' class='fnname'>add_event_listener_with_event_listener_and_bool_and_wants_untrusted</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../web_sys/struct.EventListener.html" title="struct web_sys::EventListener">EventListener</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;wants_untrusted: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>addEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>EventListener</code>, <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.dispatch_event' class="method"><code id='dispatch_event.v'>pub fn <a href='#method.dispatch_event' class='fnname'>dispatch_event</a>(&amp;self, event: &amp;<a class="struct" href="../web_sys/struct.Event.html" title="struct web_sys::Event">Event</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>dispatchEvent()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>Event</code>, <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.remove_event_listener_with_callback' class="method"><code id='remove_event_listener_with_callback.v'>pub fn <a href='#method.remove_event_listener_with_callback' class='fnname'>remove_event_listener_with_callback</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="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>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>removeEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.remove_event_listener_with_event_listener' class="method"><code id='remove_event_listener_with_event_listener.v'>pub fn <a href='#method.remove_event_listener_with_event_listener' class='fnname'>remove_event_listener_with_event_listener</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../web_sys/struct.EventListener.html" title="struct web_sys::EventListener">EventListener</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>removeEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>EventListener</code>, <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.remove_event_listener_with_callback_and_event_listener_options' class="method"><code id='remove_event_listener_with_callback_and_event_listener_options.v'>pub fn <a href='#method.remove_event_listener_with_callback_and_event_listener_options' class='fnname'>remove_event_listener_with_callback_and_event_listener_options</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: &amp;<a class="struct" href="../web_sys/struct.EventListenerOptions.html" title="struct web_sys::EventListenerOptions">EventListenerOptions</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>removeEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>EventListenerOptions</code>, <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.remove_event_listener_with_event_listener_and_event_listener_options' class="method"><code id='remove_event_listener_with_event_listener_and_event_listener_options.v'>pub fn <a href='#method.remove_event_listener_with_event_listener_and_event_listener_options' class='fnname'>remove_event_listener_with_event_listener_and_event_listener_options</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../web_sys/struct.EventListener.html" title="struct web_sys::EventListener">EventListener</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: &amp;<a class="struct" href="../web_sys/struct.EventListenerOptions.html" title="struct web_sys::EventListenerOptions">EventListenerOptions</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>removeEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>EventListener</code>, <code>EventListenerOptions</code>, <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.remove_event_listener_with_callback_and_bool' class="method"><code id='remove_event_listener_with_callback_and_bool.v'>pub fn <a href='#method.remove_event_listener_with_callback_and_bool' class='fnname'>remove_event_listener_with_callback_and_bool</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../js_sys/struct.Function.html" title="struct js_sys::Function">Function</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>removeEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>EventTarget</code></em></p>
</div></div><div class='impl-items'><h4 id='method.remove_event_listener_with_event_listener_and_bool' class="method"><code id='remove_event_listener_with_event_listener_and_bool.v'>pub fn <a href='#method.remove_event_listener_with_event_listener_and_bool' class='fnname'>remove_event_listener_with_event_listener_and_bool</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;type_: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;listener: &amp;<a class="struct" href="../web_sys/struct.EventListener.html" title="struct web_sys::EventListener">EventListener</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;options: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt;</code><a class='srclink' href='../src/web_sys/features/gen_EventTarget.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock'><p>The <code>removeEventListener()</code> method.</p>
<p><a href="https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener">MDN Documentation</a></p>
<p><em>This API requires the following crate features to be activated: <code>EventListener</code>, <code>EventTarget</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%3CEventTarget%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../web_sys/struct.EventTarget.html" title="struct web_sys::EventTarget">EventTarget</a>&gt; for <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-AsRef%3CEventTarget%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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>(&amp;self) -&gt; &amp;<a class="struct" href="../web_sys/struct.EventTarget.html" title="struct web_sys::EventTarget">EventTarget</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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%3CJsValue%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt; for <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-AsRef%3CJsValue%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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>(&amp;self) -&gt; &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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%3CNotification%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a>&gt; for <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-AsRef%3CNotification%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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>(&amp;self) -&gt; &amp;<a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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>&lt;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a>&gt; for <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-AsRef%3CObject%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.as_ref-3' class="method hidden"><code id='as_ref.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html#tymethod.as_ref' class='fnname'>as_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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>(&amp;self) -&gt; <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-Deref' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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="../web_sys/struct.EventTarget.html" title="struct web_sys::EventTarget">EventTarget</a></code></h4><div class='docblock'><p>The resulting type after dereferencing.</p>
</div><h4 id='method.deref' class="method hidden"><code id='deref.v'>fn <a href='https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html#tymethod.deref' class='fnname'>deref</a>(&amp;self) -&gt; &amp;<a class="struct" href="../web_sys/struct.EventTarget.html" title="struct web_sys::EventTarget">EventTarget</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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>&lt;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>&gt; for <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-From%3CJsValue%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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>) -&gt; <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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%3CNotification%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a>&gt; for <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a></code><a href='#impl-From%3CNotification%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</a>) -&gt; <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_Notification.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%3CNotification%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>&lt;<a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a>&gt; for <a class="struct" href="../web_sys/struct.EventTarget.html" title="struct web_sys::EventTarget">EventTarget</a></code><a href='#impl-From%3CNotification%3E-1' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</a>) -&gt; <a class="struct" href="../web_sys/struct.EventTarget.html" title="struct web_sys::EventTarget">EventTarget</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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%3CNotification%3E-2' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a>&gt; for <a class="struct" href="../js_sys/struct.Object.html" title="struct js_sys::Object">Object</a></code><a href='#impl-From%3CNotification%3E-2' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-3' class="method hidden"><code id='from.v-3'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(obj: <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a>) -&gt; <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_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-FromWasmAbi' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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> = &lt;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a> as <a class="trait" href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html" title="trait wasm_bindgen::convert::traits::FromWasmAbi">FromWasmAbi</a>&gt;::<a class="type" href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::FromWasmAbi::Abi">Abi</a></code></h4><div class='docblock'><p>The wasm ABI type that this converts from when coming back out from the ABI boundary. <a href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#associatedtype.Abi">Read more</a></p>
</div><h4 id='method.from_abi' class="method hidden"><code id='from_abi.v'>unsafe fn <a href='../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#tymethod.from_abi' class='fnname'>from_abi</a>(js: Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::FromWasmAbi::Abi">Abi</a>) -&gt; Self</code><a class='srclink' href='../src/web_sys/features/gen_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-IntoWasmAbi' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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> = &lt;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a> as <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a>&gt;::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code></h4><div class='docblock'><p>The wasm ABI type that this converts into when crossing the ABI boundary. <a href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi">Read more</a></p>
</div><h4 id='method.into_abi' class="method hidden"><code id='into_abi.v'>fn <a href='../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#tymethod.into_abi' class='fnname'>into_abi</a>(self) -&gt; Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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&lt;'a&gt; <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a> for &amp;'a <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-IntoWasmAbi-1' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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> = &lt;&amp;'a <a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a> as <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a>&gt;::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code></h4><div class='docblock'><p>The wasm ABI type that this converts into when crossing the ABI boundary. <a href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi">Read more</a></p>
</div><h4 id='method.into_abi-1' class="method hidden"><code id='into_abi.v-1'>fn <a href='../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#tymethod.into_abi' class='fnname'>into_abi</a>(self) -&gt; Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-JsCast' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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>) -&gt; Self</code><a class='srclink' href='../src/web_sys/features/gen_Notification.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: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self</code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a zero-cost unchecked conversion from a <code>&amp;JsValue</code> into an instance of <code>&amp;Self</code>. <a href="../wasm_bindgen/cast/trait.JsCast.html#tymethod.unchecked_from_js_ref">Read more</a></p>
</div><h4 id='method.has_type' class="method hidden"><code id='has_type.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.has_type' class='fnname'>has_type</a>&lt;T&gt;(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>,&nbsp;</span></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#30-35' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Test whether this JS value has a type <code>T</code>. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.has_type">Read more</a></p>
</div><h4 id='method.dyn_into' class="method hidden"><code id='dyn_into.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.dyn_into' class='fnname'>dyn_into</a>&lt;T&gt;(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, Self&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>,&nbsp;</span></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#43-52' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a dynamic cast (checked at runtime) of this value into the target type <code>T</code>. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.dyn_into">Read more</a></p>
</div><h4 id='method.dyn_ref' class="method hidden"><code id='dyn_ref.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.dyn_ref' class='fnname'>dyn_ref</a>&lt;T&gt;(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>,&nbsp;</span></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#60-69' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a dynamic cast (checked at runtime) of this value into the target type <code>T</code>. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.dyn_ref">Read more</a></p>
</div><h4 id='method.unchecked_into' class="method hidden"><code id='unchecked_into.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.unchecked_into' class='fnname'>unchecked_into</a>&lt;T&gt;(self) -&gt; T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>,&nbsp;</span></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#78-83' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a zero-cost unchecked cast into the specified type. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.unchecked_into">Read more</a></p>
</div><h4 id='method.unchecked_ref' class="method hidden"><code id='unchecked_ref.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.unchecked_ref' class='fnname'>unchecked_ref</a>&lt;T&gt;(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>,&nbsp;</span></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#96-101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a zero-cost unchecked cast into a reference to the specified type. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.unchecked_ref">Read more</a></p>
</div><h4 id='method.is_instance_of' class="method hidden"><code id='is_instance_of.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.is_instance_of' class='fnname'>is_instance_of</a>&lt;T&gt;(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/cast/trait.JsCast.html" title="trait wasm_bindgen::cast::JsCast">JsCast</a>,&nbsp;</span></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#112-117' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Test whether this JS value is an instance of the type <code>T</code>. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.is_instance_of">Read more</a></p>
</div><h4 id='method.is_type_of' class="method hidden"><code id='is_type_of.v'>fn <a href='../wasm_bindgen/cast/trait.JsCast.html#method.is_type_of' class='fnname'>is_type_of</a>(val: &amp;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/wasm_bindgen/cast.rs.html#136-138' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs a dynamic check to see whether the <code>JsValue</code> provided is a value of this type. <a href="../wasm_bindgen/cast/trait.JsCast.html#method.is_type_of">Read more</a></p>
</div></div><h3 id='impl-OptionFromWasmAbi' class='impl'><code class='in-band'>impl <a class="trait" href="../wasm_bindgen/convert/traits/trait.OptionFromWasmAbi.html" title="trait wasm_bindgen::convert::traits::OptionFromWasmAbi">OptionFromWasmAbi</a> for <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-OptionFromWasmAbi' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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: &amp;Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.FromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::FromWasmAbi::Abi">Abi</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Tests whether the argument is a &quot;none&quot; instance. If so it will be deserialized as <code>None</code>, and otherwise it will be passed to <code>FromWasmAbi</code>. <a href="../wasm_bindgen/convert/traits/trait.OptionFromWasmAbi.html#tymethod.is_none">Read more</a></p>
</div></div><h3 id='impl-OptionIntoWasmAbi' class='impl'><code class='in-band'>impl <a class="trait" href="../wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::OptionIntoWasmAbi">OptionIntoWasmAbi</a> for <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-OptionIntoWasmAbi' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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>() -&gt; Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an ABI instance indicating &quot;none&quot;, which JS will interpret as the <code>None</code> branch of this option. <a href="../wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html#tymethod.none">Read more</a></p>
</div></div><h3 id='impl-OptionIntoWasmAbi-1' class='impl'><code class='in-band'>impl&lt;'a&gt; <a class="trait" href="../wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::OptionIntoWasmAbi">OptionIntoWasmAbi</a> for &amp;'a <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-OptionIntoWasmAbi-1' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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>() -&gt; Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.rs.html#4' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns an ABI instance indicating &quot;none&quot;, which JS will interpret as the <code>None</code> branch of this option. <a href="../wasm_bindgen/convert/traits/trait.OptionIntoWasmAbi.html#tymethod.none">Read more</a></p>
</div></div><h3 id='impl-PartialEq%3CNotification%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a>&gt; for <a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-PartialEq%3CNotification%3E' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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>(&amp;self, other: &amp;<a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a>) -&gt; <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_Notification.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>(&amp;self, other: &amp;<a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a>) -&gt; <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_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-RefFromWasmAbi' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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> = &lt;<a class="struct" href="../wasm_bindgen/struct.JsValue.html" title="struct wasm_bindgen::JsValue">JsValue</a> as <a class="trait" href="../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html" title="trait wasm_bindgen::convert::traits::RefFromWasmAbi">RefFromWasmAbi</a>&gt;::<a class="type" href="../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::RefFromWasmAbi::Abi">Abi</a></code></h4><div class='docblock'><p>The wasm ABI type references to <code>Self</code> are recovered from.</p>
</div><h4 id='associatedtype.Anchor' class="type"><code id='Anchor.t'>type <a href='../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Anchor' class="type">Anchor</a> = <a class="struct" href="https://doc.rust-lang.org/nightly/core/mem/manually_drop/struct.ManuallyDrop.html" title="struct core::mem::manually_drop::ManuallyDrop">ManuallyDrop</a>&lt;<a class="struct" href="../web_sys/struct.Notification.html" title="struct web_sys::Notification">Notification</a>&gt;</code></h4><div class='docblock'><p>The type that holds the reference to <code>Self</code> for the duration of the invocation of the function that has an <code>&amp;Self</code> parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. <a href="../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Anchor">Read more</a></p>
</div><h4 id='method.ref_from_abi' class="method hidden"><code id='ref_from_abi.v'>unsafe fn <a href='../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#tymethod.ref_from_abi' class='fnname'>ref_from_abi</a>(js: Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::RefFromWasmAbi::Abi">Abi</a>) -&gt; Self::<a class="type" href="../wasm_bindgen/convert/traits/trait.RefFromWasmAbi.html#associatedtype.Anchor" title="type wasm_bindgen::convert::traits::RefFromWasmAbi::Anchor">Anchor</a></code><a class='srclink' href='../src/web_sys/features/gen_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-StructuralEq' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-StructuralPartialEq' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</a></code><a href='#impl-WasmDescribe' class='anchor'></a><a class='srclink' href='../src/web_sys/features/gen_Notification.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_Notification.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.Notification.html" title="struct web_sys::Notification">Notification</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.Notification.html" title="struct web_sys::Notification">Notification</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.Notification.html" title="struct web_sys::Notification">Notification</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.Notification.html" title="struct web_sys::Notification">Notification</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.Notification.html" title="struct web_sys::Notification">Notification</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-implem
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-217' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214-216' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#220-224' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#221-223' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#565-569' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-4' class="method hidden"><code id='from.v-4'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#566-568' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#554-561' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#558-560' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-ReturnWasmAbi' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html" title="trait wasm_bindgen::convert::traits::ReturnWasmAbi">ReturnWasmAbi</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a>,&nbsp;</span></code><a href='#impl-ReturnWasmAbi' class='anchor'></a><a class='srclink' href='../src/wasm_bindgen/convert/traits.rs.html#122-129' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Abi-4' class="type"><code id='Abi.t-4'>type <a href='../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html#associatedtype.Abi' class="type">Abi</a> = &lt;T as <a class="trait" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html" title="trait wasm_bindgen::convert::traits::IntoWasmAbi">IntoWasmAbi</a>&gt;::<a class="type" href="../wasm_bindgen/convert/traits/trait.IntoWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::IntoWasmAbi::Abi">Abi</a></code></h4><div class='docblock'><p>Same as <code>IntoWasmAbi::Abi</code></p>
</div><h4 id='method.return_abi' class="method hidden"><code id='return_abi.v'>fn <a href='../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html#tymethod.return_abi' class='fnname'>return_abi</a>(self) -&gt; &lt;T as <a class="trait" href="../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html" title="trait wasm_bindgen::convert::traits::ReturnWasmAbi">ReturnWasmAbi</a>&gt;::<a class="type" href="../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html#associatedtype.Abi" title="type wasm_bindgen::convert::traits::ReturnWasmAbi::Abi">Abi</a></code><a class='srclink' href='../src/wasm_bindgen/convert/traits.rs.html#126-128' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Same as <code>IntoWasmAbi::into_abi</code>, except that it may throw and never return in the case of <code>Err</code>. <a href="../wasm_bindgen/convert/traits/trait.ReturnWasmAbi.html#tymethod.return_abi">Read more</a></p>
</div></div><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#80-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#602-611' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_from' 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) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#608-610' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#588-597' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#594-596' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "web_sys";</script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>