Generic Types, Traits, and Lifetimes: #2: Traits: Defining Shared Behavior in Rust (Part 1)

preview_player
Показать описание
Continuing further on exploring the 10th chapter of Rust lang book, here we talk about Traits in Rust. How to define a trait and implement a trait with an example. More videos to follow...

Useful link:

Chapters:
0:00 - Intro
1:32 - Defining a trait
3:25 - Impl. trait on a type
4:47 - Default Impl.
6:11 - Example of Default Impl.
9:17 - Outro

Get in touch:
(or drop a comment)

#rust #programming #traits #traitsinrust #sharedbehaviour
Рекомендации по теме