In the latest episode, I follow up on last week's episode (discussion here) and do a deep dive on traits, taking std::iter::Iterator
as an example to walk through in some depth. I also wrote a (ridiculous and silly) example of both a custom struct
and a custom trait
to show how you do that.
As always, I'd love your thoughts! Take a listen: ︎ e009: Composing a Rustic Tune (17:23)