-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-boxArea: Our favorite opsem complicationArea: Our favorite opsem complicationC-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-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(box_as_ptr)]
This is a tracking issue for Box::as_ptr
and Box::as_mut_ptr
.
Public API
impl<T: ?Sized, A: Allocator> Box<T, A> {
pub fn as_mut_ptr(b: &mut Self) -> *mut T;
pub fn as_ptr(b: &Self) -> *const T;
}
Steps / History
- ACP: Add "as raw pointer" methods to
Box
libs-team#355 - Implementation: add Box::as_ptr and Box::as_mut_ptr methods #129091
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
denisandroid
Metadata
Metadata
Assignees
Labels
A-boxArea: Our favorite opsem complicationArea: Our favorite opsem complicationC-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-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.