Derive Macro decorators::Decorator
source · [−]#[derive(Decorator)]
{
// Attributes available to this derive:
#[dec]
#[opt_dec]
}
Expand description
A macro to generate a decorator method for each marked field.
A field can be marked with the #[dec]
field in front.