Question: Is there no way to put statically defined named functions with all of them having the same signature in a collection type without using &dyn Fn or Box<dyn Fn>? My guess is no just want to make sure
-
-
Huh TIL you can use fn as a type. Thanks! :D It worked now I won't have a vtable lookup :D
-
Oh no it turns out async fn is impl Future and now I can't do anything because you can't have that inside a trait
- 10 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.