Skip to main content

Module reclaim

Module reclaim 

Source
Expand description

Common memory reclaimers.

The functions in this module can be passed to retire to free allocated memory or run drop glue. See the guide for details about memory reclamation, and writing custom reclaimers.

Functions§

boxed⚠
Reclaims memory allocated with Box.
in_place⚠
Reclaims memory by dropping the value in place.