filmov
tv
Crust of Rust: Functions, Closures, and Their Traits

Показать описание
In this episode, we go over the differences between function items, function pointers, and closures, as well as how they interact with the Fn* traits. We also touch upon dynamically dispatched Fns and experimental const Fn bounds.
I've spliced out some audio issues that occurred on the live-stream, but hopefully it won't be too noticeable :p
0:00:00 Introduction
0:01:20 Rust for Rustaceans
0:02:48 Function items
0:06:26 Function pointers
0:11:24 Function traits
0:20:40 Closures
0:33:49 Non-static closures
0:38:50 dyn Fn
0:49:44 const Fn
1:00:28 for bounds
1:04:06 closures in async fn
I've spliced out some audio issues that occurred on the live-stream, but hopefully it won't be too noticeable :p
0:00:00 Introduction
0:01:20 Rust for Rustaceans
0:02:48 Function items
0:06:26 Function pointers
0:11:24 Function traits
0:20:40 Closures
0:33:49 Non-static closures
0:38:50 dyn Fn
0:49:44 const Fn
1:00:28 for bounds
1:04:06 closures in async fn
Crust of Rust: Functions, Closures, and Their Traits
Closures in Rust
Crust of Rust: async/await
Crust of Rust: Dispatch and Fat Pointers
Crust of Rust: Iterators
Crust of Rust: Lifetime Annotations
Crust of Rust: Smart Pointers and Interior Mutability
Crust of Rust: Subtyping and Variance
Crust of Rust: Atomics and Memory Ordering
Crust of Rust: Channels
Crust of Rust: Sorting Algorithms
Crust of Rust: std::collections
Crust of Rust: Build Scripts and Foreign-Function Interfaces (FFI)
Functional paradigm mixed with Rust
Crust of Rust: Send, Sync, and their implementors
Rust Lifetimes Finally Explained!
Rust 'did you know': non-generic inner functions
Decrusting the axum crate
Crust of Rust: Declarative Macros
Rust's Alien Data Types 👽 Box, Rc, Arc
Impl Trait aka Look ma’, no generics! by Jon Gjengset
Self-referential structs (in Rust)
Rust Tapas 001 - Fn | FnMut | FnMut
Improving Rust code with combinators
Комментарии