Crate h2s_core

Source
Expand description

A core part of h2s

Modules§

display
All implementations of Display trait. Defining human-readable string is a different context from HTML-parsing process, so separate it and aggregate implementations here
element_selector
error
Implementations of std::error::Error
extraction_method
field_value
functor
html
macro_utils
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 and improve development experience. If you are just a h2s user, you wouldn’t call these methods directly.
parseable
Implementations of FromHtml trait
transformable
traversable
traversable_with_context

Structs§

FieldError
Tuple

Enums§

Never
Similar with std::convert::Infallible

Traits§

FromHtml
A converter from single HTML element to single struct