doonv/bevy_dev_console

Tuple Indexing

doonv opened this issue · 0 comments

doonv commented

What problem does this solve or what need does it fill?

You cannot index specific elements in tuples.

What solution would you like?

Add the ability to index specific elements in tuples.

This is a bit difficult due to Expression::Member only taking in identifiers. We would have to split the String type to support more types of indexing. Bevy Reflect's Access type could help with this, but it will be private until bevyengine/bevy#11029 gets merged. So in the meantime we will have to use our own type.