Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
comex
on Nov 26, 2019
|
parent
|
context
|
favorite
| on:
Neat Rust Tricks: Passing Closures to C
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: