Function core::ptr::read_and_zeroExperimental
[-]
[+]
[src]
pub unsafe fn read_and_zero<T>(dest: *mut T) -> T
Reads the value from *src and nulls it out.
This currently prevents destructors from executing.