Function std::mem::copy_lifetime
[−]
[src]
pub unsafe fn copy_lifetime<'a, S, T>(_ptr: &'a S, ptr: &T) -> &'a T where T: 'a + ?Sized, S: ?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 pointer to match the first.