Function std::mem::copy_mut_lifetime
[−]
[src]
pub unsafe fn copy_mut_lifetime<'a, S, T>(_ptr: &'a S, ptr: &mut T) -> &'a mut T where S: ?Sized, T: 'a + ?Sized
Deprecated since 1.2.0
: unclear that this function buys more safety and lifetimes are generally not handled as such in unsafe code today
Transforms lifetime of the second mutable pointer to match the first.