Expand description
HTML fragment reader and writer for Gukhanmun.
Structs§
- Html
Element Info - Information about a freshly opened HTML element passed to a user-supplied preserve predicate.
- Html
Fragment Reader - Incremental HTML fragment reader.
- Html
Fragment Writer - Streaming HTML fragment writer.
- Html
Reader Options - Caller-supplied configuration for the HTML reader.
- Html
Scope Data - Adapter-owned scope data for HTML fragments.
- Inline
Start Tag - Parsed details of an inline HTML start tag.
Enums§
- Html
Error - Error returned while reading or writing HTML fragments.
- Inline
Html - Classification of a single inline HTML fragment as produced by
pulldown-cmark’sEvent::InlineHtml.
Functions§
- classify_
inline_ html - Classifies a single inline HTML fragment into its structural role.
- convert_
html_ fragment - Converts an HTML fragment with default engine options.
- convert_
html_ fragment_ with_ options - Converts an HTML fragment with explicit engine options.
- is_
korean_ lang - Returns
truewhenlangis a Korean BCP 47 primary or extended language tag. - read_
html_ fragment - Reads an HTML fragment into the core input-token stream.
- read_
html_ fragment_ iter - Reads an HTML fragment as an iterator over core input tokens.
- read_
html_ fragment_ iter_ with_ options - Iterator variant of
read_html_fragment_with_options. - read_
html_ fragment_ with_ options - Reads an HTML fragment with caller-supplied
HtmlReaderOptions. - try_
convert_ html_ fragment - Converts an HTML fragment with an explicit recovery policy.
- try_
convert_ html_ fragment_ with_ options - Converts an HTML fragment with explicit engine options and recovery policy.
- try_
read_ html_ fragment - Reads an HTML fragment with an explicit recovery policy.
- try_
read_ html_ fragment_ iter - Reads an HTML fragment as a fallible token stream.
- try_
read_ html_ fragment_ iter_ with_ options - Fallible token-stream reader with caller-supplied
HtmlReaderOptions. - try_
read_ html_ fragment_ with_ options - Reads an HTML fragment with caller-supplied options and an explicit recovery policy.
- write_
html_ fragment - Writes rendered HTML tokens back to a fragment string.