Crate typst_macros

source ·
Expand description

Procedural macros for Typst.

Macros§

  • Implements Reflect, FromValue, and IntoValue for a type.
  • Defines a list of Symbols.

Attribute Macros§

  • Defines a category of definitions.
  • Makes a native Rust type usable as a Typst element.
  • Makes a native Rust function usable as a Typst function.
  • Provides an associated scope to a native function, type, or element.
  • Times the function invokations.
  • Makes a native Rust type usable as a Typst type.

Derive Macros§

  • Implements Reflect, FromValue, and IntoValue for an enum.