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
Boxlibs-team#355 - Implementation: add Box::as_ptr and Box::as_mut_ptr methods #129091
- Final comment period (FCP)1: Tracking Issue for box_as_ptr #129090 (comment)
- Stabilization PR: Stabilize
#![feature(box_as_ptr)]#157876
Unresolved Questions
- None yet.