macro-attr
This crate provides the macro_attr! macro that enables the use of custom, macro-based attributes and derivations.
The macro_attr! macro should be used to wrap an entire single item (enum, struct, etc.) declaration, including its attributes (both derive and others). All attributes and derivations which whose names end with ! will be assumed to be implemented by macros, and treated accordingly.
use macro_attr;
// Define some traits to be derived.
// Define macros which derive implementations of these macros.
};
=> ;
}