Traits and Generics
Programming Languages · Rust Advanced · 18 min
Share behaviour between types with traits, write one function for many types with generics, and mix different types in one list with trait objects.
This lesson is part of TuringPath Pro. See plans.
More in Rust Advanced
Previous: HashMaps and Errors · Next: Lifetimes