pub trait HType {
    fn with_js<T>(&self, f: impl FnOnce(&JsValue) -> T) -> T;
}
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

Acquires a reference to the JsValue of this component type.

Implementors