Skip to content

Tracking Issue for char_to_u32 #158938

Description

@okaneco

Feature gate: #![feature(char_to_u32)]

This is a tracking issue for returning the underlying u32 code point value from a char.

Public API

impl char {
    pub const fn to_u32(self) -> u32 {
        self as u32
    }
}

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

    C-tracking-issueCategory: 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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions