Associated Types
I want to calculate how far my car will travel in 3 hours if it’s going at a certain speed. I live in a country that uses the metric system, so I’m going to define two helper structs, Kmh
(kilometers per hour) and Km
(kilometers).