Alias Fields
Returns a tuple of each field in the form of the Quirks
template
Example
struct S {
long id;
int age;
string name() {
return "name";
}
}
alias fields = Fields!S;
static foreach (field; fields) {
pragma(msg, field .type);
pragma(msg, field .name);
}