Puzzle 7: Explanation

Let’s learn how type conversion and structs work in Rust.

Test it out

Hit “Run” to see the code’s output.

Get hands-on with 1000+ tech skills courses.