Constant core::unicode::UNICODE_VERSION

1.45.0 · source ·
pub const UNICODE_VERSION: (u8, u8, u8);
Expand description

The version of Unicode that the Unicode parts of char and str methods are based on.

New versions of Unicode are released regularly and subsequently all methods in the standard library depending on Unicode are updated. Therefore the behavior of some char and str methods and the value of this constant changes over time. This is not considered to be a breaking change.

The version numbering scheme is explained in Unicode 11.0 or later, Section 3.1 Versions of the Unicode Standard.