Trait BinaryProperty

trait BinaryProperty: crate::private::Sealed + Sized

A binary Unicode character property.

The descriptions of most properties are taken from TR44, the documentation for the Unicode Character Database. Some properties are instead defined in TR18, the documentation for Unicode regular expressions. In particular, Annex C of this document defines properties for POSIX compatibility.

🚫 This trait is sealed; it cannot be implemented by user code. If an API requests an item that implements this trait, please consider using a type from the implementors listed below.

Provided Methods

fn for_char(ch: char) -> bool

Convenience method for CodePointSetData::new().contains(ch)

✨ Enabled with the compiled_data Cargo feature.

Implementors