icu_properties::sets

Function lowercase

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

Lowercase characters

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let lowercase = sets::lowercase();

assert!(lowercase.contains('a'));
assert!(!lowercase.contains('A'));