-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
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.
luojia65, Ddystopia and jieyouxu
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.