Rust 101 - 13: Type Parameters and Associated Types
Following on from [video 12](https://diode.zone/w/9Db2EwKP8ga6A5oaBhripm), looking at how to add type information to traits, to make them flexible enough to describe generic code with different types, for example how to add a u32 to a u64 and return a u128, without defining a whole new trait for every combination of types. Links: * Exercises: https://artificialworlds.net/presentations/rust-101/exercises/A3-traits-generics/mod.html * Slides: https://artificialworlds.net/presentations/rust-101/A3-traits-generics Rust 101 is a series of videos explaining how to write programs in Rust. The course materials for this series are developed by tweede golf. You can find more information at https://github.com/tweedegolf/101-rs and you can sponsor the work at https://github.com/sponsors/tweedegolf . They are released under the Creative Commons Attribution Share Alike 4.0 International license. This series of videos is copyright 2024 Andy Balaam and the tweede golf contributors and is released u
βhttps://video.infosec.exchange/w/u1MU8n3yHywnMLcCQRG3yj