rusty-man/tests/html/1.41.1/kuchiki/struct.NodeDataRef.html
Robin Krahl 628377c83b
Refactor test suite to check multiple versions
This patch refactors the test suite:
- Instead of always generating the documentation with the available
  rustdoc version, we now store generated documentation for all
  supported rustdoc versions in the test/html directory.
- Instead of using one snapshot per test case, we now use one snapshot
  per test case and rustdoc version.
2020-09-11 20:30:05 +02:00

44 lines
45 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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 `NodeDataRef` struct in crate `kuchiki`."><meta name="keywords" content="rust, rustlang, rust-lang, NodeDataRef"><title>kuchiki::NodeDataRef - 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='../kuchiki/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Struct NodeDataRef</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.as_node">as_node</a><a href="#method.new">new</a><a href="#method.new_opt">new_opt</a><a href="#method.text_contents">text_contents</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Debug">Debug</a><a href="#impl-Deref">Deref</a><a href="#impl-Element">Element</a><a href="#impl-Eq">Eq</a><a href="#impl-PartialEq%3CNodeDataRef%3CT%3E%3E">PartialEq&lt;NodeDataRef&lt;T&gt;&gt;</a><a href="#impl-StructuralEq">StructuralEq</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a><a href="#impl-Send">!Send</a><a href="#impl-Sync">!Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">!UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='index.html'>kuchiki</a></p><script>window.sidebarCurrent = {name: 'NodeDataRef', ty: 'struct', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#40-43' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='index.html'>kuchiki</a>::<wbr><a class="struct" href=''>NodeDataRef</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust struct'>pub struct NodeDataRef&lt;T&gt; { /* fields omitted */ }</pre></div><div class='docblock'><p>Holds a strong reference to a node, but dereferences to some component inside of it.</p>
</div><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="struct" href="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;</code><a href='#impl' class='anchor'></a><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#45-75' 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>&lt;F&gt;(rc: <a class="struct" href="../kuchiki/struct.NodeRef.html" title="struct kuchiki::NodeRef">NodeRef</a>, f: F) -&gt; <a class="struct" href="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;<a class="struct" href="../kuchiki/struct.Node.html" title="struct kuchiki::Node">Node</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T,&nbsp;</span></code><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#48-56' title='goto source code'>[src]</a></h4><div class='docblock'><p>Create a <code>NodeDataRef</code> for a component in a given node.</p>
</div><h4 id='method.new_opt' class="method"><code id='new_opt.v'>pub fn <a href='#method.new_opt' class='fnname'>new_opt</a>&lt;F&gt;(rc: <a class="struct" href="../kuchiki/struct.NodeRef.html" title="struct kuchiki::NodeRef">NodeRef</a>, f: F) -&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="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;<a class="struct" href="../kuchiki/struct.Node.html" title="struct kuchiki::Node">Node</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T&gt;,&nbsp;</span></code><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#60-68' title='goto source code'>[src]</a></h4><div class='docblock'><p>Create a <code>NodeDataRef</code> for and a component that may or may not be in a given node.</p>
</div><h4 id='method.as_node' class="method"><code id='as_node.v'>pub fn <a href='#method.as_node' class='fnname'>as_node</a>(&amp;self) -&gt; &amp;<a class="struct" href="../kuchiki/struct.NodeRef.html" title="struct kuchiki::NodeRef">NodeRef</a></code><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#72-74' title='goto source code'>[src]</a></h4><div class='docblock'><p>Access the corresponding node.</p>
</div></div><h3 id='impl-1' class='impl'><code class='in-band'>impl <a class="struct" href="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;<a class="struct" href="../kuchiki/struct.ElementData.html" title="struct kuchiki::ElementData">ElementData</a>&gt;</code><a href='#impl-1' class='anchor'></a><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#111-116' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.text_contents' class="method"><code id='text_contents.v'>pub fn <a href='#method.text_contents' class='fnname'>text_contents</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/kuchiki/node_data_ref.rs.html#113-115' title='goto source code'>[src]</a></h4><div class='docblock'><p>Return the concatenation of all text nodes in this subtree.</p>
</div></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-Clone' class='impl'><code class='in-band'>impl&lt;T&gt; <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="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;</code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#94-102' 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; Self</code><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#96-101' 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&lt;T:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>&gt; <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="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;</code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#104-109' 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="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="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</code><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#106-108' 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&lt;T&gt; <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="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;</code><a href='#impl-Deref' class='anchor'></a><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#77-83' 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> = T</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; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#80-82' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Dereferences the value.</p>
</div></div><h3 id='impl-Element' class='impl'><code class='in-band'>impl Element for <a class="struct" href="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;<a class="struct" href="../kuchiki/struct.ElementData.html" title="struct kuchiki::ElementData">ElementData</a>&gt;</code><a href='#impl-Element' class='anchor'></a><a class='srclink' href='../src/kuchiki/select.rs.html#150-329' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Impl' class="type"><code id='Impl.t'>type <a href='#associatedtype.Impl' class="type">Impl</a> = KuchikiSelectors</code></h4><h4 id='method.opaque' class="method hidden"><code id='opaque.v'>fn <a href='#method.opaque' class='fnname'>opaque</a>(&amp;self) -&gt; OpaqueElement</code><a class='srclink' href='../src/kuchiki/select.rs.html#154-157' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Converts self into an opaque representation.</p>
</div><h4 id='method.is_html_slot_element' class="method hidden"><code id='is_html_slot_element.v'>fn <a href='#method.is_html_slot_element' class='fnname'>is_html_slot_element</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/kuchiki/select.rs.html#160-162' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns whether the element is an HTML element.</p>
</div><h4 id='method.parent_node_is_shadow_root' class="method hidden"><code id='parent_node_is_shadow_root.v'>fn <a href='#method.parent_node_is_shadow_root' class='fnname'>parent_node_is_shadow_root</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/kuchiki/select.rs.html#164-166' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Whether the parent node of this element is a shadow root.</p>
</div><h4 id='method.containing_shadow_host' class="method hidden"><code id='containing_shadow_host.v'>fn <a href='#method.containing_shadow_host' class='fnname'>containing_shadow_host</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;Self&gt;</code><a class='srclink' href='../src/kuchiki/select.rs.html#168-170' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The host of the containing shadow root, if any.</p>
</div><h4 id='method.parent_element' class="method hidden"><code id='parent_element.v'>fn <a href='#method.parent_element' class='fnname'>parent_element</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;Self&gt;</code><a class='srclink' href='../src/kuchiki/select.rs.html#173-175' title='goto source code'>[src]</a></h4><h4 id='method.prev_sibling_element' class="method hidden"><code id='prev_sibling_element.v'>fn <a href='#method.prev_sibling_element' class='fnname'>prev_sibling_element</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;Self&gt;</code><a class='srclink' href='../src/kuchiki/select.rs.html#177-179' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Skips non-element nodes</p>
</div><h4 id='method.next_sibling_element' class="method hidden"><code id='next_sibling_element.v'>fn <a href='#method.next_sibling_element' class='fnname'>next_sibling_element</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;Self&gt;</code><a class='srclink' href='../src/kuchiki/select.rs.html#181-183' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Skips non-element nodes</p>
</div><h4 id='method.is_empty' class="method hidden"><code id='is_empty.v'>fn <a href='#method.is_empty' class='fnname'>is_empty</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/kuchiki/select.rs.html#185-191' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns whether this element matches <code>:empty</code>. <a href="#tymethod.is_empty">Read more</a></p>
</div><h4 id='method.is_root' class="method hidden"><code id='is_root.v'>fn <a href='#method.is_root' class='fnname'>is_root</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/kuchiki/select.rs.html#193-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns whether this element matches <code>:root</code>, i.e. whether it is the root element of a document. <a href="#tymethod.is_root">Read more</a></p>
</div><h4 id='method.is_html_element_in_html_document' class="method hidden"><code id='is_html_element_in_html_document.v'>fn <a href='#method.is_html_element_in_html_document' class='fnname'>is_html_element_in_html_document</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/kuchiki/select.rs.html#201-204' title='goto source code'>[src]</a></h4><h4 id='method.has_local_name' class="method hidden"><code id='has_local_name.v'>fn <a href='#method.has_local_name' class='fnname'>has_local_name</a>(&amp;self, name: &amp;LocalName) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/kuchiki/select.rs.html#207-209' title='goto source code'>[src]</a></h4><h4 id='method.has_namespace' class="method hidden"><code id='has_namespace.v'>fn <a href='#method.has_namespace' class='fnname'>has_namespace</a>(&amp;self, namespace: &amp;Namespace) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/kuchiki/select.rs.html#211-213' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Empty string for no namespace</p>
</div><h4 id='method.is_part' class="method hidden"><code id='is_part.v'>fn <a href='#method.is_part' class='fnname'>is_part</a>(&amp;self, _name: &amp;LocalName) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/kuchiki/select.rs.html#216-218' title='goto source code'>[src]</a></h4><h4 id='method.exported_part' class="method hidden"><code id='exported_part.v'>fn <a href='#method.exported_part' class='fnname'>exported_part</a>(&amp;self, _: &amp;LocalName) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;LocalName&gt;</code><a class='srclink' href='../src/kuchiki/select.rs.html#221-223' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the mapping from the <code>exportparts</code> attribute in the regular direction, that is, inner-tree -&gt; outer-tree. <a href="#tymethod.exported_part">Read more</a></p>
</div><h4 id='method.imported_part' class="method hidden"><code id='imported_part.v'>fn <a href='#method.imported_part' class='fnname'>imported_part</a>(&amp;self, _: &amp;LocalName) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;LocalName&gt;</code><a class='srclink' href='../src/kuchiki/select.rs.html#226-228' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns the mapping from the <code>exportparts</code> attribute in the reverse direction, that is, in an outer-tree -&gt; inner-tree direction. <a href="#tymethod.imported_part">Read more</a></p>
</div><h4 id='method.is_pseudo_element' class="method hidden"><code id='is_pseudo_element.v'>fn <a href='#method.is_pseudo_element' class='fnname'>is_pseudo_element</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/kuchiki/select.rs.html#231-233' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Whether we're matching on a pseudo-element.</p>
</div><h4 id='method.is_same_type' class="method hidden"><code id='is_same_type.v'>fn <a href='#method.is_same_type' class='fnname'>is_same_type</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/kuchiki/select.rs.html#236-238' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Whether this element and the <code>other</code> element have the same local name and namespace.</p>
</div><h4 id='method.is_link' class="method hidden"><code id='is_link.v'>fn <a href='#method.is_link' class='fnname'>is_link</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/kuchiki/select.rs.html#241-252' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Whether this element is a <code>link</code>.</p>
</div><h4 id='method.has_id' class="method hidden"><code id='has_id.v'>fn <a href='#method.has_id' class='fnname'>has_id</a>(&amp;self, id: &amp;LocalName, case_sensitivity: CaseSensitivity) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/kuchiki/select.rs.html#255-262' title='goto source code'>[src]</a></h4><h4 id='method.has_class' class="method hidden"><code id='has_class.v'>fn <a href='#method.has_class' class='fnname'>has_class</a>(&amp;self, name: &amp;LocalName, case_sensitivity: CaseSensitivity) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/kuchiki/select.rs.html#265-275' title='goto source code'>[src]</a></h4><h4 id='method.attr_matches' class="method hidden"><code id='attr_matches.v'>fn <a href='#method.attr_matches' class='fnname'>attr_matches</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;ns: &amp;NamespaceConstraint&lt;&amp;Namespace&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;local_name: &amp;LocalName, <br>&nbsp;&nbsp;&nbsp;&nbsp;operation: &amp;AttrSelectorOperation&lt;&amp;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;<br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/kuchiki/select.rs.html#278-295' title='goto source code'>[src]</a></h4><h4 id='method.match_pseudo_element' class="method hidden"><code id='match_pseudo_element.v'>fn <a href='#method.match_pseudo_element' class='fnname'>match_pseudo_element</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;pseudo: &amp;PseudoElement, <br>&nbsp;&nbsp;&nbsp;&nbsp;_context: &amp;mut MatchingContext&lt;KuchikiSelectors&gt;<br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/kuchiki/select.rs.html#297-303' title='goto source code'>[src]</a></h4><h4 id='method.match_non_ts_pseudo_class' class="method hidden"><code id='match_non_ts_pseudo_class.v'>fn <a href='#method.match_non_ts_pseudo_class' class='fnname'>match_non_ts_pseudo_class</a>&lt;F&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;pseudo: &amp;PseudoClass, <br>&nbsp;&nbsp;&nbsp;&nbsp;_context: &amp;mut MatchingContext&lt;KuchikiSelectors&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;_flags_setter: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>F<br>) -&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;F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self, ElementSelectorFlags),&nbsp;</span></code><a class='srclink' href='../src/kuchiki/select.rs.html#305-328' title='goto source code'>[src]</a></h4><h4 id='method.pseudo_element_originating_element' class="method hidden"><code id='pseudo_element_originating_element.v'>fn <a href='#method.pseudo_element_originating_element' class='fnname'>pseudo_element_originating_element</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;Self&gt;</code></h4><div class='docblock hidden'><p>The parent of a given pseudo-element, after matching a pseudo-element selector. <a href="#method.pseudo_element_originating_element">Read more</a></p>
</div><h4 id='method.assigned_slot' class="method hidden"><code id='assigned_slot.v'>fn <a href='#method.assigned_slot' class='fnname'>assigned_slot</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;Self&gt;</code></h4><div class='docblock hidden'><p>Returns the assigned element this element is assigned to. <a href="#method.assigned_slot">Read more</a></p>
</div><h4 id='method.ignores_nth_child_selectors' class="method hidden"><code id='ignores_nth_child_selectors.v'>fn <a href='#method.ignores_nth_child_selectors' class='fnname'>ignores_nth_child_selectors</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code></h4><div class='docblock hidden'><p>Returns whether this element should ignore matching nth child selector. <a href="#method.ignores_nth_child_selectors">Read more</a></p>
</div></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a>&gt; <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="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;</code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#39' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-PartialEq%3CNodeDataRef%3CT%3E%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <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="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;&gt; for <a class="struct" href="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;</code><a href='#impl-PartialEq%3CNodeDataRef%3CT%3E%3E' class='anchor'></a><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#86-91' 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: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#88-90' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'><span class="docblock attributes">#[must_use]
</span>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#212' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-StructuralEq' class='impl'><code class='in-band'>impl&lt;T&gt; <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="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;</code><a href='#impl-StructuralEq' class='anchor'></a><a class='srclink' href='../src/kuchiki/node_data_ref.rs.html#39' title='goto source code'>[src]</a></h3><div class='impl-items'></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&lt;T&gt; !<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="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;</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&lt;T&gt; !<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="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;</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&lt;T&gt; !<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="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;</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&lt;T&gt; <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="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;</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&lt;T&gt; !<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="../kuchiki/struct.NodeDataRef.html" title="struct kuchiki::NodeDataRef">NodeDataRef</a>&lt;T&gt;</code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-Any' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#98-100' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#99' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</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-215' 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' 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#218-220' 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#219' 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#564-568' 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>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#565-567' 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#553-560' 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#557-559' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</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#81-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#601-610' 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#607-609' 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#587-596' 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#593-595' 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 = "kuchiki";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>