Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Generics and Traits in Rust 2021

via Pluralsight

Overview

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.

Syllabus

  • Course Overview 2mins
  • Using Generics to Reduce Code Duplication 20mins
  • Defining Shared Behaviour with Traits 18mins
  • Using Advanced Traits 21mins

Taught by

Shaun Meyer

Reviews

4.2 rating at Pluralsight based on 14 ratings

Start your review of Generics and Traits in Rust 2021

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.