Crate h2s_core

source ·
Expand description

A core part of h2s

Modules

All implementations of Display trait. Defining human-readable string is a different context from HTML-parsing process, so we are separating it and aggregating implementations here
Implementations of FromHtml trait
A set of internal utility methods that will be used in the auto-generated code on FromHtml derive macro. These methods are shorthands to reduce codes in the quote! macro. It improves development experience with IDE. You wouldn’t call these methods directly in your code.

Enums

Similar with std::convert::Infallible

Traits

CSS Selector
Common error trait
A converter from single HTML node to single struct
HTML Node