Module xjbutil::mem [−][src]
Expand description
Some memory or pointer related operations
Functions
“Leak” the content in the Box
but returns NonNull
instead.
Move the given object to heap, returning a pointer to it.
Assuming the pointer was previously “leaked” out from a Box
, reclaim it and put it back
into a Box
.