Tracking Issue for [*const T|*mut T]::with_metadata_of · Issue #75091 · rust-lang/rust (original) (raw)
impl<T: ?Sized> *mut T { pub fn with_metadata_of<U: ?Sized>(self, val: *const U) -> *mut U; }
impl<T: ?Sized> *const T { pub fn with_metadata_of<U: ?Sized>(self, val: *const U) -> *const U; }