Function std::ptr::to_unsafe_ptr

pub fn to_unsafe_ptr<T>(thing: &T) -> *T

Transform a region pointer - &T - to an unsafe pointer - *T.