Function core::mem::copy_lifetime
[−]
[src]
pub unsafe fn copy_lifetime<'a, S: ?Sized, T: ?Sized + 'a>(_ptr: &'a S, ptr: &T) -> &'a T
Unstable
: this function may be removed in the future due to its questionable utility
Transforms lifetime of the second pointer to match the first.