Crate sp_runtime_interface_proc_macro[][src]

This crate provides procedural macros for usage within the context of the Substrate runtime interface.

The following macros are provided:

  1. The #[runtime_interface] attribute macro for generating the runtime interfaces.
  2. The PassByCodec derive macro for implementing PassBy with Codec.
  3. The PassByEnum derive macro for implementing PassBy with Enum.
  4. The PassByInner derive macro for implementing PassBy with Inner.

Attribute Macros

runtime_interface

Derive Macros

PassByCodec
PassByEnum
PassByInner