Crate lurk_macros
source ·Expand description
Lurk Macros
Derive macros for Lurk
This crate contains derive macros to manage trait dispatch in Lurk.
- The
Coproc
macro adds dispatchingCoprocessor
andCocircuit
implementations to enums whose variants all atomically enclose types implementingCoprocessor
.
Lurk macro
Although severely limited in the expressions it can represent, and still lacking quasiquoting,
the lurk
macro allows embedding Lurk code in Rust source. See tests for examples.
Macros
Attribute Macros
- This macro is used to generate round-trip serialization tests.
Derive Macros
- This macro derives an impl of TryFrom
for an enum type T with #[repr(foo)]
.