That... would work (e.g. a mem::discriminant::<Enum<T>>
function pointer for unsizing Enum<T>
).
It would make the fat pointer larger, but maybe that's an alright trade-off?
That... would work (e.g. a mem::discriminant::<Enum<T>>
function pointer for unsizing Enum<T>
).
It would make the fat pointer larger, but maybe that's an alright trade-off?