Closed richard-uk1 closed 5 years ago
I haven't fully thought this through, but I think you could emulate a class hierarchy using repr[transparent] and mem::transmute on references. This hasn't been done I assume because there is no reason a sane person would do this 😋
repr[transparent]
mem::transmute
Seems plausible!
I haven't fully thought this through, but I think you could emulate a class hierarchy using
repr[transparent]
andmem::transmute
on references. This hasn't been done I assume because there is no reason a sane person would do this 😋