Function abi_stable::utils::take_manuallydrop

source ·
pub unsafe fn take_manuallydrop<T>(slot: &mut ManuallyDrop<T>) -> T
Expand description

Takes the contents out of a ManuallyDrop<T>.

§Safety

After this function is called slot will become uninitialized and must not be read again.