MediumScenarioTraits, generics and error handling
You must store different shape types in one Vec and call area() on each. How?
This answer is part of Pro
10 of 81 Rust Developer answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousA library function currently panics on bad input and callers want to handle it. How do you change the API?Next Your generic function produces huge binaries and slow compile times. What do you do?