Expand description
Implements macros used in Alchemy.
rsx! {}
, which turns RSX tags intoRSX
node trees.styles! {}
, which turns CSS stylesheet strings intoVec<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.
Macros§
- proc_
macro_ hack_ rsx - Implements the
rsx! {}
macro, which turns RSX tags intoRSX
node trees. - proc_
macro_ hack_ styles - Implements the
styles! {}
macro, which turns CSS stylesheet strings intoVec<Styles>
.
Derive Macros§
- Props
- Implements a derive macro for automating props setting and conversion.