The main problem I'm having right now is that classes/structs have to be static.
That seems weird, I've done something similar with non-static structs before.
Maybe it will help if you use __traits(getMember, obj, name) instead of mixin.
The main problem I'm having right now is that classes/structs have to be static.
That seems weird, I've done something similar with non-static structs before.
Maybe it will help if you use __traits(getMember, obj, name) instead of mixin.