icu_properties::sets

Function noncharacter_code_point

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

Code points permanently reserved for internal use

Enabled with the compiled_data Cargo feature.

📚 Help choosing a constructor

§Example

use icu::properties::sets;

let noncharacter_code_point = sets::noncharacter_code_point();

assert!(noncharacter_code_point.contains32(0xFDD0));
assert!(noncharacter_code_point.contains32(0xFFFF));
assert!(!noncharacter_code_point.contains32(0x10000));