Welcome to our comprehensive series on learning Rust, a powerful and efficient programming language. This playlist is designed to guide you from the very basics of Rust to its most advanced features. Whether you're entirely new to programming or an experienced developer looking to add Rust to your skillset, these lessons are structured to provide a clear and progressive learning path. Join us as we explore Rust's unique approach to safety, speed, and concurrency and become proficient in this increasingly popular language. Remember to subscribe and activate notifications so you don't miss the new videos
Curated by: Francesco Ciulla (54 videos)
In this lesson, we dive deep into the world of Rust collections, focusing on Vectors. We'll start by explaining what a Vector is and how to create one in Rust. Next, we'll cover essential Vector methods like push and pop, and demonstrate how to read elements by index and using the get method. You'll also learn how to iterate over Vector values efficiently and how to store multiple types using enums. Finally, we'll discuss the lifecycle of a Vector and what happens when it is dropped. Enums: https://youtu.be/XQWX7dMqY3U?si=ypagNwDAWSwOOiUG Match Match: https://youtu.be/sd1M_CLXl4I?si=lgA63o6MmrPgyV-- GitHub repository: https://github.com/FrancescoXX/rust-vectors ALL THE LINKS HERE: https://francescociulla.com 0:00 Collections in Rust 0:41 What is a Vector in Rust - How to create a Vector 1:48 Vector methods: push and pop 3:14 Reading elements in a Vector: by index and using the get method 5:43 Iterating over the Values in a Vector 7:34 How to store multiple Types using enums 9:36 Dropping a Vector drops its elements 10:00 Conclusion