std.meta.TrailerFlags: use @Type to improve API

- Use an enum of all field names instead of string literals
- Create a struct type with all fields optional instead of relying on
anonymous struct literals

This should provide better type inference, compile errors, and a
(subjectively) cleaner API.
f94583076eTadeo Kondrak committed on 8/27/2020, 9:11:33 PMparentf6cedfa
1 file changedLine totals unavailable