Transmuting generic to specific type safe?

Here's how you can do it without unsafe: Is it possible to get the enum field directly according to the generic type - #4 by quinedot

4 Likes