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

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

Transforms lifetime of the second pointer to match the first.