Crate stageleft

source ·

Modules§

Macros§

Structs§

Traits§

Functions§

  • Captures a fully qualified path to a given type, which is useful when the generated code needs to explicitly refer to a type known at staging time.

Attribute Macros§

  • Defines an entrypoint for staged code, which will be available as a proc macro. The entrypoint must be a function that returns impl Quoted<T> for some type T.
  • Marks a chunk of code as being runtime-only, which means that no staged code in its crate can depend on it. Code behind this attribute is allowed to use staged entrypoints defined in the same crate.
  • A utility for declaring top-level public modules in a Stageleft crate that exports macros.