Derive Macrosยง
- Validate
Theme - Derive macro for generating a
validatemethod for a Theme struct. Thevalidatemethod ensures that all values with thevalidateattribute are notNone. Otherwise, an error message it output to both the log file and stdout and the program exits.