[][src]Function structural::utils::take_manuallydrop

pub unsafe fn take_manuallydrop<T>(slot: &mut ManuallyDrop<T>) -> T

Takes the contents out of a ManuallyDrop<T>.

Safety

After this function is called slot becomes uninitialized and must not be used again.