We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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).