We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Closures practice problems in Rust
Difficulty:
Category & tags Filters active
Category:
Tag:
Showing 15 of 15
| Title | Difficulty | Category | Tags |
|---|---|---|---|
| Box<dyn Trait>: trait objects, DSTs and dynamic dispatch | Medium | Primitives |
|
| Closures 101: build a pipeline of boxed closures | Easy | Primitives |
|
| Closures hold their borrows | Medium | Primitives |
|
| Fn, FnMut, FnOnce: the closure hierarchy | Medium | Primitives |
|
| Folding an AST: separating traversal from action | Hard | End-to-End |
|
| from_fn and successors: iterators without writing a struct | Easy | Primitives |
|
| move closures: why the compiler forces your hand | Easy | Primitives |
|
| move: when the closure must own its captures | Medium | Primitives |
|
poll_fn: a future from a closure
|
Easy | Primitives |
|
| Read a log after its closure finishes | Medium | Primitives |
|
| Returning impl Trait, and what edition 2024 changed | Hard | Primitives |
|
| Store owned and borrowed closures in registries | Hard | End-to-End |
|
| Trace a lazy map, filter and take pipeline | Easy | Primitives |
|
| Trait objects and lifetimes: Box<dyn Trait + 'a> | Hard | Primitives |
|
| unsafe impl Send, and the disjoint-capture trap | Hard | Framework |
|