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)
Rust Open Source project: https://www.rustcrab.com/ All the lessons: https://www.youtube.com/watch?v=R33h77nrMqc&list=PLPoSdR46FgI412aItyJhj2bF66cudB6Qs In this video, we dive deep into the concept of traits in Rust, a crucial part of the language's type system that allows for code reuse. Traits are a concept similar to Interfaces, with some differences. 0:00 Intro. What are "Traits" in Rust? 0:40 Defining a Trait 1:37 Implementing a Trait on a Type 4:44 Default Implementation of a Trait 6:33 Multiple Methods for the same Trait 8:40 Traits as Parameters and Trait Bound Syntax 12:15 Clearer Trait Bounds with where Clauses 14:08 Returning Types that Implement Traits 15:26 Using Trait Bounds to Conditionally Implement Methods 16:37 Conditionally Implementhing Methods for a Generic Type ALL THE LINKS HERE: https://francescociulla.com