Class ICU4XUnicodeSetData

An ICU4X Unicode Set Property object, capable of querying whether a code point is contained in a set based on a Unicode property.

See the Rust documentation for properties for more information.

See the Rust documentation for UnicodeSetData for more information.

See the Rust documentation for UnicodeSetDataBorrowed for more information.

Constructors

Methods

  • Checks whether the string is in the set.

    See the Rust documentation for contains for more information.

    Parameters

    • s: string

    Returns boolean

  • Checks whether the code point (specified as a 32 bit integer, in UTF-32) is in the set.

    Parameters

    • cp: number

    Returns boolean

  • Checks whether the code point is in the set.

    See the Rust documentation for contains_char for more information.

    Parameters

    • cp: string

    Returns boolean