There is a way, but it's very hacky (basically cast the object to something 
with the same memory layout, yuck!). Someone opened a RFC to add this 
functionality: <https://github.com/nim-lang/RFCs/issues/97>, but I haven't 
heard any more about that.

Reply via email to