Plugins with generics #18881
Answered
by
xiaoshihou514
xiaoshihou514
asked this question in
Q&A
Replies: 1 comment
-
fn app_run<A: Material2d>() where Material2DPlugin<A>: Plugin |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
xiaoshihou514
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How can I add a plugin with a generic? Something like:
I tried very hard to hint rustc what I am trying to do, but rustc is not responding...
Any help appreciated!
Beta Was this translation helpful? Give feedback.
All reactions