Derive Macro MagicInstantiate

Source
#[derive(MagicInstantiate)]
{
    // Attributes available to this derive:
    #[magic]
}
Expand description

Derive the MagicInstantiate trait for a struct or enum. Descriptions and validators can be added to fields using the #[magic(description = ...)] and #[magic(validator = ...)] attributes.