Finish removing dependency on impl_trait_for_tuples
In the interest of making minimal dependencies, I've re-coded most of the uses of `impl_trait_for_tuples` with hand-coded macros. The only one left is the `View` tuple. The reason I've left this for last is because unlike all the other tuple types in Quill which allow a max of 16 arguments, View allows 32 - which means it will require an ugly set of macro invocations.
What would be nice is if I could use the Bevy `all_tuples!` macro, but unfortunately it's missing an important feature I need, for which I have filed a ticket: https://github.com/bevyengine/bevy/issues/10915. Adding this feature would not be too hard, I think, but I just have too many other yaks to shave.
0 条评论