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
You're still using a closure closing over arguments of an unknown type, you can't turn that into a `fn` pointer in a useful way?
-
-
arguments are irrelevant as long as you don't capture anything.
-
You're capturing the function itself
- 3 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.