Feature gate: `#![feature(char_to_u32)]` This is a tracking issue for returning the underlying `u32` code point value from a `char`. ### Public API ```rust impl char { pub const fn to_u32(self) -> u32 { self as u32 } } ``` ### Steps / History - [x] ACP: https://github.com/rust-lang/libs-team/issues/778 - [x] Implementation: https://github.com/rust-lang/rust/pull/158940 - [ ] Final comment period (FCP)[^1] - [ ] Stabilization PR ### Unresolved Questions - [ ] None yet. [^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Feature gate:
#![feature(char_to_u32)]This is a tracking issue for returning the underlying
u32code point value from achar.Public API
Steps / History
char::to_u32to access underlying value libs-team#778char_to_u32#158940Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩