You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
7.4 KiB
HTML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!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 `kuchiki` crate."><meta name="keywords" content="rust, rustlang, rust-lang, kuchiki"><title>kuchiki - 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="../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../kuchiki/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Crate kuchiki</p><div class='block version'><p>Version 0.8.0</p></div><div class="sidebar-elems"><a id='all-types' href='all.html'><p>See all kuchiki's items</p></a><div class="block items"><ul><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#functions">Functions</a></li></ul></div><p class='location'></p><script>window.sidebarCurrent = {name: 'kuchiki', ty: 'mod', relpath: '../'};</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><span class="help-button">?</span>
<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/lib.rs.html#1-40' title='goto source code'>[src]</a></span><span class='in-band'>Crate <a class="mod" href=''>kuchiki</a></span></h1><div class='docblock'><p>Kuchiki (朽木), a HTML/XML tree manipulation library for Rust.</p>
</div><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
<table><tr class='module-item'><td><a class="mod" href="iter/index.html" title='kuchiki::iter mod'>iter</a></td><td class='docblock-short'><p>Node iterators</p>
</td></tr><tr class='module-item'><td><a class="mod" href="traits/index.html" title='kuchiki::traits mod'>traits</a></td><td class='docblock-short'><p>This module re-exports a number of traits that are useful when using Kuchiki.
It can be used with:</p>
</td></tr></table><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct.Attribute.html" title='kuchiki::Attribute struct'>Attribute</a></td><td class='docblock-short'><p>The non-identifying parts of an attribute</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Attributes.html" title='kuchiki::Attributes struct'>Attributes</a></td><td class='docblock-short'><p>Convenience wrapper around a btreemap that adds method for attributes in the null namespace.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Doctype.html" title='kuchiki::Doctype struct'>Doctype</a></td><td class='docblock-short'><p>Data specific to doctype nodes.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.DocumentData.html" title='kuchiki::DocumentData struct'>DocumentData</a></td><td class='docblock-short'><p>Data specific to document nodes.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.ElementData.html" title='kuchiki::ElementData struct'>ElementData</a></td><td class='docblock-short'><p>Data specific to element nodes.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.ExpandedName.html" title='kuchiki::ExpandedName struct'>ExpandedName</a></td><td class='docblock-short'><p><a href="https://www.w3.org/TR/REC-xml-names/#dt-expname">https://www.w3.org/TR/REC-xml-names/#dt-expname</a></p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Node.html" title='kuchiki::Node struct'>Node</a></td><td class='docblock-short'><p>A node inside a DOM-like tree.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.NodeDataRef.html" title='kuchiki::NodeDataRef struct'>NodeDataRef</a></td><td class='docblock-short'><p>Holds a strong reference to a node, but dereferences to some component inside of it.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.NodeRef.html" title='kuchiki::NodeRef struct'>NodeRef</a></td><td class='docblock-short'><p>A strong reference to a node.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.ParseOpts.html" title='kuchiki::ParseOpts struct'>ParseOpts</a></td><td class='docblock-short'><p>Options for the HTML parser.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Selector.html" title='kuchiki::Selector struct'>Selector</a></td><td class='docblock-short'><p>A pre-compiled CSS Selector.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Selectors.html" title='kuchiki::Selectors struct'>Selectors</a></td><td class='docblock-short'><p>A pre-compiled list of CSS Selectors.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Specificity.html" title='kuchiki::Specificity struct'>Specificity</a></td><td class='docblock-short'><p>The specificity of a selector.</p>
</td></tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
<table><tr class='module-item'><td><a class="enum" href="enum.NodeData.html" title='kuchiki::NodeData enum'>NodeData</a></td><td class='docblock-short'><p>Node data specific to the node type.</p>
</td></tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
<table><tr class='module-item'><td><a class="fn" href="fn.parse_html.html" title='kuchiki::parse_html fn'>parse_html</a></td><td class='docblock-short'><p>Parse an HTML document with html5ever and the default configuration.</p>
</td></tr><tr class='module-item'><td><a class="fn" href="fn.parse_html_with_options.html" title='kuchiki::parse_html_with_options fn'>parse_html_with_options</a></td><td class='docblock-short'><p>Parse an HTML document with html5ever with custom configuration.</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "kuchiki";</script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>