Function icu_properties::sets::cased

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

Uppercase, lowercase, and titlecase characters

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let cased = sets::cased();

assert!(cased.contains('Ꙡ'));  // U+A660 CYRILLIC CAPITAL LETTER REVERSED TSE
assert!(!cased.contains('ދ'));  // U+078B THAANA LETTER DHAALU