Open
Description
Feature gate: #![feature(ptr_mask)]
This is a tracking issue for <*const T>::mask
and <*mut T>::mask
methods that allow masking pointers.
Public API
impl<T: ?Sized> *const T {
pub fn mask(self, mask: usize) -> *const T;
}
impl<T: ?Sized> *mut T {
pub fn mask(self, mask: usize) -> *mut T;
}
Steps / History
- Implementation: Add pointer masking convenience functions #96946
- Final comment period (FCP)
- Stabilization PR
Unresolved Questions
- None yet.