News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.