-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Open
Labels
C-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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(titlecase)]
This is a tracking issue for library functions to handle title-casing of Unicode characters.
Public API
// core::char
pub fn is_cased(self) -> bool;
pub fn case(self) -> Option<CharCase>;
pub fn is_titlecase(self) -> bool;
pub fn to_titlecase(self) -> ToTitlecase;
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub enum CharCase {
Lower = 0b00,
Title = 0b10,
Upper = 0b11,
}
struct ToTitlecase { ... }
impl Iterator for ToTitlecase { ... }
impl DoubleEndedIterator for ToTitlecase { ... }
impl FusedIterator for ToTitlecase { }
impl ExactSizeIterator for ToTitlecase { ... }
impl fmt::Display for ToTitlecase { ... }Steps / History
(Remember to update the S-tracking-* label when checking boxes.)
- ACP: Add titlecase APIs to
charlibs-team#354 - Implementation: Add APIs for dealing with titlecase #122668
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.