Module mem

Source
Expand description

Functions related to core::mem and core::ptr

Functionsยง

man_drop_mut
Gets a reference to the contents of a ManuallyDrop.
man_drop_ref
Gets a reference to the contents of a ManuallyDrop.
nonnull_from
Converts &T or &mut T into NonNull<T>.