Function std::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.
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.
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).