fusor-macros 0.1.2

FromInputs and JsInputs derives for fusor components
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# fusor-macros

Derive macros for fusor components.

`#[derive(FromInputs)]` turns a component's `#[input]` and `#[local]` fields
into its typed constructor inputs. `#[derive(JsInputs)]` does the same for the
values a component passes to its JavaScript module.

Use them through `fusor`, which re-exports both with its `dom` feature. You do
not need to depend on this crate directly.

Part of [fusor](https://github.com/fusor-rs/fusor), which builds reactive web applications from HTML and ordinary Rust. Licensed under the [MIT License](LICENSE).