We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This is the tracking issue for the const_raw_ptr_to_usize_cast feature.
const_raw_ptr_to_usize_cast
Activating the feature allows casting *const T and *mut T to usize.
*const T
*mut T
usize
I did not open an RFC for this because I believe we want to experiment with the feature (and we can already emulate it with union transmute hacks).