コンテンツにスキップ

Rust talk: Fn vs FnMut vs FnOnce

Safiganの写真
Hosted By
Safigan
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

新型コロナウイルス感染症に関する安全対策

マスク着用が必須です
イベントは屋内で開催されます
イベント オーガナイザーは、このイベントに対して上記の安全対策を講じています。 Meetupは、これらの予防措置が遵守されていることを確認する責任を負わず、独自に検証することもありません。
Photo of Kyoto Rust group
Kyoto Rust
イベントをもっと見る
C2 Kyoto
京都府, 333番 Kagiyachō, Shimogyo Ward, Kyoto · Kyoto