Skip to main content

in_place

Function in_place 

Source
pub unsafe fn in_place<T>(ptr: *mut T, _collector: &Collector)
Expand description

Reclaims memory by dropping the value in place.

ยงSafety

The safety requirements of ptr::drop_in_place apply.