Skip to content

Tracking Issue for box_as_ptr #129090

Open
Tracking Issue
@RalfJung

Description

@RalfJung

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

Unresolved Questions

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-boxArea: Our favorite opsem complicationC-tracking-issueCategory: 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.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions