Skip to main content

Module prelude

Module prelude 

Source
Expand description

Convenience prelude that imports the most commonly used types.

use fast_html_parser::prelude::*;

Re-exports§

pub use crate::HtmlParser;

Structs§

CompiledSelectorcss-selector or xpath
A pre-compiled CSS selector for reuse across documents and threads.
Document
A parsed HTML document backed by an arena.
NodeId
Index into the arena’s node vector.
NodeRef
A borrowed reference to a node inside the document.
Selectioncss-selector or xpath
A collection of matched nodes from a selector query.

Enums§

HtmlError
Error type for HTML parsing.

Traits§

Selectablecss-selector or xpath
Extension trait that adds CSS selector methods to Document.