Performance of structs with incompletely parameterized fields

And you can also use

directly, if you find cumbersome to annotate T,N in your case. You could create an inner constructor to check the data structure if that is needed for some reason.