Reference
Every tag, attribute, trait and rule — arranged for lookup rather than for reading.
This is the lookup half of the documentation. Each page leads with the syntax or the signature, states the rule, and then covers the edges — including the ones that will surprise you, which are marked as such rather than left to be discovered.
If you are meeting Damask for the first time, the book covers the same ground in an order that builds. For the generated API — every type, method and trait bound — see docs.rs.
Templates
Brace tags
Printing, statements, raw output, control flow, imports and comments.
Attributes
The
Attr trait, quoted interpolation, and spreading.
Token lists
{@tokens(…)} — one space-separated value, assembled from parts.
Attribute groups
{@attrs(…)} — one set expanded into a run of <name>-* attributes.
Components
The Component derive
Template resolution, attributes, and what the derive generates.
Props
Fields are props: passing, skipping, moving, and inference.
Slots
Placement, fallbacks, filling with
slot=, forwarding, asking, and filling from Rust.
Snippets and fragments
Reusable pieces inside a template, and closures as renderable content.
Attributes a component does not name
#[prop(rest)]: the bag every attribute that is not a prop lands in, and the rules that decide which is which.