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 dispatching Coprocessor and Cocircuit implementations to enums whose variants all atomically enclose types implementing Coprocessor.

§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§

lurk

Attribute Macros§

serde_test
This macro is used to generate round-trip serialization tests.

Derive Macros§

Coproc
TryFromRepr
This macro derives an impl of TryFrom for an enum type T with #[repr(foo)].