What's the best way to translate nested `for` loops (I'm thinking of the ones in my `ty_enum` match) into a single iterator of the inner type?