Function core::mem::copy_lifetimeUnstable
[-]
[+]
[src]
pub unsafe fn copy_lifetime<'a, S: ?Sized, T: 'a + ?Sized>(_ptr: &'a S, ptr: &T) -> &'a T
Transforms lifetime of the second pointer to match the first.