Choose Rust polymorphism with clear trade-offs.
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 setup requirements listed.
No additional actions listed.