Type Alias DropInPlaceFn

Source
pub type DropInPlaceFn = for<'mem> unsafe fn(PtrMut<'mem>) -> PtrUninit<'mem>;
Expand description

Function to drop a value

ยงSafety

The value parameter must point to aligned, initialized memory of the correct type. After calling this function, the memory pointed to by value should not be accessed again until it is properly reinitialized.