Expand description
Procedural macros for Typst.
Macros§
Attribute Macros§
- category
- Defines a category of definitions.
- elem
- Makes a native Rust type usable as a Typst element.
- func
- Makes a native Rust function usable as a Typst function.
- scope
- Provides an associated scope to a native function, type, or element.
- time
- Times function invocations.
- ty
- Makes a native Rust type usable as a Typst type.
Derive Macros§
- Cast
- Implements
Reflect
,FromValue
, andIntoValue
for an enum.