This course teaches you to use Generics and Traits in Rust to write efficient, reusable, and maintainable code. You'll learn to use generics in functions, structs, and enums, implement traits, and use advanced features to build powerful abstractions.
This course teaches you to use Generics and Traits in Rust to write efficient, reusable, and maintainable code. You'll learn to use generics in functions, structs, and enums, implement traits, and use advanced features to build powerful abstractions.
In this course, Generics and Traits in Rust 2021, you’ll learn to effectively use generics and traits in Rust to write more efficient, reusable, and maintainable code. First, you’ll explore Generics. Next, you’ll discover traits. Finally, you’ll learn how to leverage advanced trait usage. By the end of the course, you will have a strong understanding of how to define generic functions, structs, and enums, how to define traits and implement them for your own types, and how to use advanced features like associated types and super-traits to build powerful abstractions.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.