Crate rune_macros

Source
Expand description

§rune-macros

rune-macros is the crate that generates two proc macros for use in other parts of the rune architecture:

  • defun: Functions hydrated to emacs lisp.
  • Trace: Implement Trace for a struct.

Attribute Macros§

defun
#[defun]
elprop
elprop
enum_methods
The generated methods assume that TargetType provides an appropriate untag() method (and untag_mut() if mutable access methods are used) that allows access to the underlying enum (MyEnum in the example).

Derive Macros§

Trace
Trace