Skip to main content

implementation

Macro implementation 

Source
implementation!() { /* proc-macro */ }
Expand description

Syntax: implementation!(<trait> for <enum>)

Generate the trait implementation for the enum. Both require a ![setup] annotation.

Because this uses macros to read the data, use <crate>::<name> for external types.