Crate kuchikiki

Crate kuchikiki 

Source
Expand description

Kuchikiki (口利き) is an HTML tree manipulation library for Rust.

Modules§

iter
Node iterators
traits
This module re-exports a number of traits that are useful when using Kuchikiki. It can be used with:

Structs§

Attribute
The non-identifying parts of an attribute
Attributes
Convenience wrapper around a indexmap that adds method for attributes in the null namespace.
Doctype
Data specific to doctype nodes.
DocumentData
Data specific to document nodes.
ElementData
Data specific to element nodes.
ExpandedName
https://www.w3.org/TR/REC-xml-names/#dt-expname
Node
A node inside a DOM-like tree.
NodeDataRef
Holds a strong reference to a node, but dereferences to some component inside of it.
NodeRef
A strong reference to a node.
ParseOpts
Options for the HTML parser.
Selector
A pre-compiled CSS Selector.
SelectorCache
A cache used to speed up resolution of CSS selectors.
Selectors
A pre-compiled list of CSS Selectors.
Sink
Receives new tree nodes during parsing.
Specificity
The specificity of a selector.

Enums§

NodeData
Node data specific to the node type.

Functions§

parse_fragment
Parse an HTML fragment with html5ever and the default configuration.
parse_html
Parse an HTML document with html5ever and the default configuration.
parse_html_with_options
Parse an HTML document with html5ever with custom configuration.