pub trait HType {
// Required method
fn as_js(&self) -> Cow<'_, JsValue>;
}Expand description
A marker trait for the component type that H is supposed to build.
Can either be HtmlTag or any imported component.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".