Function icu_properties::sets::changes_when_nfkc_casefolded

source ·
pub const fn changes_when_nfkc_casefolded() -> CodePointSetDataBorrowed<'static>
Expand description

Characters which are not identical to their NFKC_Casefold mapping

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let changes_when_nfkc_casefolded = sets::changes_when_nfkc_casefolded();

assert!(changes_when_nfkc_casefolded.contains('🄵'));  // U+1F135 SQUARED LATIN CAPITAL LETTER F
assert!(!changes_when_nfkc_casefolded.contains('f'));