RustCurious 9: Traits are Interfaces

A trait specifies an interface, a capability that types can choose to implement. Trait bounds specify the capabilities required for a generic type to work with an API. Complete Rust course:    • All Lessons   Exercise source code: 🚀 https://rustcurious.com/9 Index: 0:00 Intro 3:21 Trait declaration, implementations, generics with trait bounds 7:48 Orphan rule 9:58 Formatting traits - Display and Debug 16:23 Trait inheritance 20:40 Associated types, Iterator 26:00 IntoIterator 28:10 Exercise 1: Stack Iterator 28:52 Generic traits - Mul 34:23 Operator traits overview 35:25 Index and IndexMut 36:10 Marker traits, implicit Sized bounds, unsized types, ?Sized 40:58 Exercise 2: Slab Index 42:11 Exercise 3: Enumerate 43:43 I make all the 3D art with Blender, no AI tools used