I am trying to create a struct that contains a substruct at different levels. An instance foo of that struct should have the following layout:
foo.a
foo.b
foo.x.a
foo.x.b
foo.y.a
foo.y.b
foo.z
So foo.x and foo.y should contain components a, b of the same type as foo itself.
My list a, b is of course remarkably longer and I would avoid code doubling.