I have seen the @typeInfo built in in the documentation.
But it doesn't say anything about what info it contains. I believe it's a union with different fields such as .Enum. Where can I find the complete layout of the data that is returned?
I have tried printing the @typeInfo but I'm not sure how to do it.
const Field = enum { byr, ity, eyr, hgt, hcl, ecl, pid, cid };
print("{any}\n", .{@typeInfo(Field)});