2 ms·
There's a third way you didn't mention, and which replaces most uses of trait objects in practice: use an enum.
by cesarb 9y ago
There's a third way you didn't mention, and which replaces most uses of trait objects in practice: use an enum.
2 ms·