[][src]Crate alchemy_macros

Implements macros used in Alchemy.

  • rsx! {}, which turns RSX tags into RSX node trees.
  • styles! {}, which turns CSS stylesheet strings into Vec<Styles>.

In general, you should prefer using these to constructing the above values manually.

Much of the rsx! {} support is achieved by forking code riginally written by Bodil Stokke over in typed-html.

Derive Macros

Props

Implements a derive macro for automating props setting and conversion.

proc_macro_hack_rsx

Implements the rsx! {} macro, which turns RSX tags into RSX node trees.

proc_macro_hack_styles

Implements the styles! {} macro, which turns CSS stylesheet strings into Vec<Styles>.