Rustacean Station  cover image

Code Like a Pro in Rust with Brenden Matthews

Rustacean Station

00:00

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.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app