Rustacean Station  cover image

Code Like a Pro in Rust with Brenden Matthews

Rustacean Station

CHAPTER

How to Implement the From and Into Trait Directly in Your Compiler

The from and into are, I'm not sure what the right word for them is, but they're basically like opposites of each other. And you can, you can derive into from from. Actually, I don't know if that'll work. It might just be more clumsy. But anyway, generally you did never implement the into trait directly. You would just implement from and then the compiler can just kind of figure out what you're trying to do from there.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner