Function std::mem::copy_lifetimeUnstable [-] [+] [src]

pub unsafe fn copy_lifetime<'a, S, T>(_ptr: &'a S, ptr: &T) -> &'a T where T: 'a, S: ?Sized, T: ?Sized

Transforms lifetime of the second pointer to match the first.