Crate macro_magic_macros

source ·

Macros§

Attribute Macros§

  • Can be applied to any item. Doing so will make the tokens for this item available for import by the other macros in this crate.
  • Like #[export_tokens] but does not emit the tokens of the attached item locally.
  • Can be attached to an attribute proc macro function, causing it to receive the tokens for the external item referred to by the path provided as the attr / first argument to the attribute macro.
  • An attribute macro that can be attached to a proc macro function definition that will cause it to receive the tokens of the external item referred to by its argument as input to your proc macro.
  • use_attrDeprecated
    Deprecated: No-op
  • use_procDeprecated
    Deprecated: No-op
  • To be used in tandem with #[import_tokens_attr]