Explore the power of Rust traits in this comprehensive conference talk by Rainer Stropek. Delve into the fundamentals of traits, learning how to create and implement them, both manually and automatically. Discover unique features such as default implementations, trait parameters, trait objects, and trait bounds for generics. Through practical demonstrations, understand how traits differ from interfaces in other OO languages like TypeScript, C#, or Java. Gain insights into advanced concepts including enums, typecasting, unit tests, FromStr and Into traits, iterators, lifetimes, and more. Follow along as Rainer builds a Prince of Persia-inspired example, showcasing real-world applications of traits in Rust programming.
Traits in Rust: Beyond Traditional Interfaces - Fundamentals and Advanced Features