pub exec fn cast_ptr_to_thin_ptr<T: ?Sized, U: Sized>(ptr: *mut T) -> *mut U
Expand description
ensures
result == spec_cast_ptr_to_thin_ptr::<T, U>(ptr),

Don’t call this directly; use an as-cast instead.