Rust talk: Fn vs FnMut vs FnOnce


詳細
Have you ever wanted to pass a closure into a function or struct but didn't know how? Have you ever had an error message talking about references, move, or mutations inside a closure? This talk will give you a full break down into how and why Rust closures work the way they do. We will go through a real example to get a better understanding of how to properly use them.
Andrew Safigan (Software Engineer at NEI Japan) will give a talk about the differences between Fn, MutFn, and FnOnce. Join us to learn about the benefits and challenges of trying to do so.
After the talk, we will have an open discussion using crowd sourced topics.
The event is being held at C2 Kyoto. It is a few blocks walk for Gojo Station or 14 minute walk north from Kyoto station.
Agenda
- 15 minutes open chat
- 30 minutes presentation & questions
- 1 hour discussion
- 15 minutes open chat
新型コロナウイルス感染症に関する安全対策

Rust talk: Fn vs FnMut vs FnOnce