icu_properties::sets

Function uppercase

Source
pub const fn uppercase() -> CodePointSetDataBorrowed<'static>
Expand description

Uppercase characters

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let uppercase = sets::uppercase();

assert!(uppercase.contains('U'));
assert!(!uppercase.contains('u'));