Choose Rust polymorphism with clear trade-offs.
Rust type design
Guides decisions among concrete types, enums, generics, and trait objects based on type timing, flexibility, and performance.
When to use it
Use when working with generics, traits, zero-cost abstractions, or related type errors.
It changes how the agent chooses abstractions and dispatch strategies while resolving Rust type-system and design problems.
What you provide
No additional actions listed in the analysis.
No setup requirements listed in the analysis.