Expand description
The functions in this module return a CodePointMapData
representing, for
each code point in the entire range of code points, the property values
for a particular Unicode property.
The descriptions of most properties are taken from TR44
, the documentation for the
Unicode Character Database.
Structs§
- Code
Point MapData - A wrapper around code point map data. It is returned by APIs that return Unicode
property data in a map-like form, ex: enumerated property value data keyed
by code point. Access its data via the borrowed version,
CodePointMapDataBorrowed
. - Code
Point MapData Borrowed - A borrowed wrapper around code point set data, returned by
CodePointSetData::as_borrowed()
. More efficient to query.
Functions§
- bidi_
class - Return a
CodePointMapDataBorrowed
for the Bidi_Class Unicode enumerated property. SeeBidiClass
. - canonical_
combining_ class - Return a
CodePointMapData
for the Canonical_Combining_Class Unicode property. SeeCanonicalCombiningClass
. - east_
asian_ width - Return a
CodePointMapDataBorrowed
for the East_Asian_Width Unicode enumerated property. SeeEastAsianWidth
. - general_
category - Return a
CodePointMapDataBorrowed
for the General_Category Unicode enumerated property. SeeGeneralCategory
. - grapheme_
cluster_ break - Return a
CodePointMapDataBorrowed
for the Grapheme_Cluster_Break Unicode enumerated property. SeeGraphemeClusterBreak
. - hangul_
syllable_ type - Returns a
CodePointMapDataBorrowed
for the Hangul_Syllable_Type Unicode enumerated property. SeeHangulSyllableType
. - indic_
syllabic_ category - Return a
CodePointMapData
for the Indic_Syllabic_Category Unicode property. SeeIndicSyllabicCategory
. - joining_
type - Return a
CodePointMapDataBorrowed
for the Joining_Type Unicode enumerated property. SeeJoiningType
. - line_
break - Return a
CodePointMapDataBorrowed
for the Line_Break Unicode enumerated property. SeeLineBreak
. - load_
bidi_ class - A version of
bidi_class()
that uses custom data provided by aDataProvider
. - load_
canonical_ combining_ class - A version of
canonical_combining_class()
that uses custom data provided by aDataProvider
. - load_
east_ asian_ width - A version of
east_asian_width()
that uses custom data provided by aDataProvider
. - load_
general_ category - A version of
general_category()
that uses custom data provided by aDataProvider
. - load_
grapheme_ cluster_ break - A version of
grapheme_cluster_break()
that uses custom data provided by aDataProvider
. - load_
hangul_ syllable_ type - A version of
hangul_syllable_type()
that uses custom data provided by aDataProvider
. - load_
indic_ syllabic_ category - A version of
indic_syllabic_category()
that uses custom data provided by aDataProvider
. - load_
joining_ type - A version of
joining_type()
that uses custom data provided by aDataProvider
. - load_
line_ break - A version of
line_break()
that uses custom data provided by aDataProvider
. - load_
script - A version of
script()
that uses custom data provided by aDataProvider
. - load_
sentence_ break - A version of
sentence_break()
that uses custom data provided by aDataProvider
. - load_
word_ break - A version of
word_break()
that uses custom data provided by aDataProvider
. - script
- Return a
CodePointMapDataBorrowed
for the Script Unicode enumerated property. SeeScript
. - sentence_
break - Return a
CodePointMapDataBorrowed
for the Sentence_Break Unicode enumerated property. SeeSentenceBreak
. - word_
break - Return a
CodePointMapDataBorrowed
for the Word_Break Unicode enumerated property. SeeWordBreak
.