Uploaded October 2024 | Updated November 2026, 3 hours ago
Full Rust course: youtube.com/watch?v=R33h77nrMqc&list=PLPoSdR46FgI412aItyJhj2bF66cudB6Qs&index=1&t=4s
Fullstack Rust Web Application:
youtu.be/FYVbt6YFMsM?si=7X5l0KCD39WIsICv
Important links:
Rust book: mybook.to/YJI6DI
Rust Workbook: francescociulla.gumroad.com/l/rustworkbook
Rust Cheatsheet: francescociulla.gumroad.com/l/rustcheatsheet
Find Francesco: francescociulla.com
In this Rust programming tutorial, we talk about Iterators, one of Rust's most powerful features. Learn how iterators work, why they're essential, and how to use them effectively in your Rust projects. We'll break down different types of iterators and methods for modifying and consuming them and offer practical examples to guide you through the process.
0:00 What are iterators in Rust, and Why Iterators? Introduction
1:20 A first example of using Iterators in Rust
2:21 Iterators under the hood - The Iterator Trait and the Next Method, Check the iterators with assert
6:27 Types of Iterators: iter(), iter_mut(), into_iter()
15:10 Summary table for Type of Iterators
15:36 Method to modify and consume Iterators: The Map Method
18:11 The Filter method
19:21 The Fold Method, similar to Reduce
20:52 Recap and conclusion
GitHub link: github.com/FrancescoXX/iterators-rust
Full Rust course: youtube.com/watch?v=R33h77nrMqc&list=PLPoSdR46FgI412aItyJhj2bF66cudB6Qs&index=1&t=4s
Fullstack Rust Web Application:
youtu.be/FYVbt6YFMsM?si=7X5l0KCD39WIsICv
Important links:
Rust book: mybook.to/YJI6DI
Rust Workbook: francescociulla.gumroad.com/l/rustworkbook
Rust Cheatsheet: francescociulla.gumroad.com/l/rustcheatsheet
Find Francesco: francescociulla.com
In this Rust programming tutorial, we talk about Iterators, one of Rust's most powerful features. Learn how iterators work, why they're essential, and how to use them effectively in your Rust projects. We'll break down different types of iterators and methods for modifying and consuming them and offer practical examples to guide you through the process.
0:00 What are iterators in Rust, and Why Iterators? Introduction
1:20 A first example of using Iterators in Rust
2:21 Iterators under the hood - The Iterator Trait and the Next Method, Check the iterators with assert
6:27 Types of Iterators: iter(), iter_mut(), into_iter()
15:10 Summary table for Type of Iterators
15:36 Method to modify and consume Iterators: The Map Method
18:11 The Filter method
19:21 The Fold Method, similar to Reduce
20:52 Recap and conclusion
GitHub link: github.com/FrancescoXX/iterators-rust










