Re:Neat Rust Tricks: Passing Closures to C
by comex on Monday November 25, 2019 @10:27PM
(#21635429)
If a Rust closure doesn’t actually close over any variables, it can be coerced to a function pointer. Otherwise, you’re stuck with the workarounds others have mentioned.
[ Parent
| on HN ]
There are no comments on this comment yet.