Derive Macro HtmlElement

Source
#[derive(HtmlElement)]
Expand description

Derive HtmlElement

This will derive an instance with an empty body:

impl HtmlElement for MyType {}

Types with generic parameters are supported.