Alternatives to using dyn. 4 simple examples: Generic with trait bounds Enum dispatch Functional pointers example Compile-time polymorphism with const generics