Although Rust's standard library is pretty small compared to other languages, it comes with most of the batteries included. It even standardizes conversions with a few important traits that any Rust developer should know about.
So, what better to do than to take a look at these traits, learn about them, and get you ready to master conversions in Rust?!
Timestamps:
00:00 Intro
00:46 From and Into
06:35 TryFrom and TryInto
11:25 AsRef
16:38 AsMut
18:03 Outro
❓ Who the hell am I?
Hey, if we haven't met yet, I'm Oliver, and I'm a software engineer. I started programming over two decades ago as a hobby. Nowadays, I design and build huge distributed systems in the video on demand space.
What else to watch?
What about this one? ⬇
How to create your OWN Link Shortener in Rust • How To Create Your Own Link Shortener...
You can find me here:
My blog: https://oliverl.ink/blog
My Twitter: / oliverjumpertz