|
ICU4X
International Components for Unicode
|
#include <Script.d.hpp>
Public Types | |
| enum | Value { Adlam = 167 , Ahom = 161 , AnatolianHieroglyphs = 156 , Arabic = 2 , Armenian = 3 , Avestan = 117 , Balinese = 62 , Bamum = 130 , BassaVah = 134 , Batak = 63 , Bengali = 4 , BeriaErfe = 208 , Bhaiksuki = 168 , Bopomofo = 5 , Brahmi = 65 , Braille = 46 , Buginese = 55 , Buhid = 44 , CanadianAboriginal = 40 , Carian = 104 , CaucasianAlbanian = 159 , Chakma = 118 , Cham = 66 , Cherokee = 6 , Chisoi = 254 , Chorasmian = 189 , Common = 0 , Coptic = 7 , Cuneiform = 101 , Cypriot = 47 , CyproMinoan = 193 , Cyrillic = 8 , Deseret = 9 , Devanagari = 10 , DivesAkuru = 190 , Dogra = 178 , Duployan = 135 , EgyptianHieroglyphs = 71 , Elbasan = 136 , Elymaic = 185 , Ethiopian = 11 , Garay = 201 , Georgian = 12 , Glagolitic = 56 , Gothic = 13 , Grantha = 137 , Greek = 14 , Gujarati = 15 , GunjalaGondi = 179 , Gurmukhi = 16 , GurungKhema = 202 , Han = 17 , Hangul = 18 , HanifiRohingya = 182 , Hanunoo = 43 , Hatran = 162 , Hebrew = 19 , Hiragana = 20 , ImperialAramaic = 116 , Inherited = 1 , InscriptionalPahlavi = 122 , InscriptionalParthian = 125 , Javanese = 78 , Kaithi = 120 , Kannada = 21 , Katakana = 22 , Kawi = 198 , KayahLi = 79 , Kharoshthi = 57 , KhitanSmallScript = 191 , Khmer = 23 , Khojki = 157 , Khudawadi = 145 , KiratRai = 203 , Lao = 24 , Latin = 25 , Lepcha = 82 , Limbu = 48 , LinearA = 83 , LinearB = 49 , Lisu = 131 , Lycian = 107 , Lydian = 108 , Mahajani = 160 , Makasar = 180 , Malayalam = 26 , Mandaic = 84 , Manichaean = 121 , Marchen = 169 , MasaramGondi = 175 , Medefaidrin = 181 , MeeteiMayek = 115 , MendeKikakui = 140 , MeroiticCursive = 141 , MeroiticHieroglyphs = 86 , Miao = 92 , Modi = 163 , Mongolian = 27 , Mro = 149 , Multani = 164 , Myanmar = 28 , Nabataean = 143 , NagMundari = 199 , Nandinagari = 187 , Nastaliq = 200 , NewTaiLue = 59 , Newa = 170 , Nko = 87 , Nushu = 150 , NyiakengPuachueHmong = 186 , Ogham = 29 , OlChiki = 109 , OlOnal = 204 , OldHungarian = 76 , OldItalic = 30 , OldNorthArabian = 142 , OldPermic = 89 , OldPersian = 61 , OldSogdian = 184 , OldSouthArabian = 133 , OldTurkic = 88 , OldUyghur = 194 , Oriya = 31 , Osage = 171 , Osmanya = 50 , PahawhHmong = 75 , Palmyrene = 144 , PauCinHau = 165 , PhagsPa = 90 , Phoenician = 91 , PsalterPahlavi = 123 , Rejang = 110 , Runic = 32 , Samaritan = 126 , Saurashtra = 111 , Sharada = 151 , Shavian = 51 , Siddham = 166 , Sidetic = 209 , SignWriting = 112 , Sinhala = 33 , Sogdian = 183 , SoraSompeng = 152 , Soyombo = 176 , Sundanese = 113 , Sunuwar = 205 , SylotiNagri = 58 , Syriac = 34 , Tagalog = 42 , Tagbanwa = 45 , TaiLe = 52 , TaiTham = 106 , TaiViet = 127 , TaiYo = 210 , Takri = 153 , Tamil = 35 , Tangsa = 195 , Tangut = 154 , Telugu = 36 , Thaana = 37 , Thai = 38 , Tibetan = 39 , Tifinagh = 60 , Tirhuta = 158 , Todhri = 206 , TolongSiki = 211 , Toto = 196 , TuluTigalari = 207 , Ugaritic = 53 , Unknown = 103 , Vai = 99 , Vithkuqi = 197 , Wancho = 188 , WarangCiti = 146 , Yezidi = 192 , Yi = 41 , ZanabazarSquare = 177 } |
Public Member Functions | |
| Script () | |
| constexpr | Script (Value v) |
| constexpr | operator Value () const |
| operator bool () const =delete | |
| std::optional< std::string_view > | long_name () const |
| std::optional< std::string_view > | short_name () const |
| uint16_t | to_integer_value () const |
Static Public Member Functions | |
| static icu4x::Script | for_char (char32_t ch) |
| static std::optional< icu4x::Script > | from_integer_value (uint16_t other) |
| static std::optional< icu4x::Script > | try_from_str (std::string_view s) |
See the Rust documentation for Script for more information.
| enum icu4x::Script::Value |
| Enumerator | |
|---|---|
| Adlam | See the Rust documentation for |
| Ahom | See the Rust documentation for |
| AnatolianHieroglyphs | See the Rust documentation for |
| Arabic | See the Rust documentation for |
| Armenian | See the Rust documentation for |
| Avestan | See the Rust documentation for |
| Balinese | See the Rust documentation for |
| Bamum | See the Rust documentation for |
| BassaVah | See the Rust documentation for |
| Batak | See the Rust documentation for |
| Bengali | See the Rust documentation for |
| BeriaErfe | See the Rust documentation for |
| Bhaiksuki | See the Rust documentation for |
| Bopomofo | See the Rust documentation for |
| Brahmi | See the Rust documentation for |
| Braille | See the Rust documentation for |
| Buginese | See the Rust documentation for |
| Buhid | See the Rust documentation for |
| CanadianAboriginal | See the Rust documentation for |
| Carian | See the Rust documentation for |
| CaucasianAlbanian | See the Rust documentation for |
| Chakma | See the Rust documentation for |
| Cham | See the Rust documentation for |
| Cherokee | See the Rust documentation for |
| Chisoi | See the Rust documentation for |
| Chorasmian | See the Rust documentation for |
| Common | See the Rust documentation for |
| Coptic | See the Rust documentation for |
| Cuneiform | See the Rust documentation for |
| Cypriot | See the Rust documentation for |
| CyproMinoan | See the Rust documentation for |
| Cyrillic | See the Rust documentation for |
| Deseret | See the Rust documentation for |
| Devanagari | See the Rust documentation for |
| DivesAkuru | See the Rust documentation for |
| Dogra | See the Rust documentation for |
| Duployan | See the Rust documentation for |
| EgyptianHieroglyphs | See the Rust documentation for |
| Elbasan | See the Rust documentation for |
| Elymaic | See the Rust documentation for |
| Ethiopian | See the Rust documentation for |
| Garay | See the Rust documentation for |
| Georgian | See the Rust documentation for |
| Glagolitic | See the Rust documentation for |
| Gothic | See the Rust documentation for |
| Grantha | See the Rust documentation for |
| Greek | See the Rust documentation for |
| Gujarati | See the Rust documentation for |
| GunjalaGondi | See the Rust documentation for |
| Gurmukhi | See the Rust documentation for |
| GurungKhema | See the Rust documentation for |
| Han | See the Rust documentation for |
| Hangul | See the Rust documentation for |
| HanifiRohingya | See the Rust documentation for |
| Hanunoo | See the Rust documentation for |
| Hatran | See the Rust documentation for |
| Hebrew | See the Rust documentation for |
| Hiragana | See the Rust documentation for |
| ImperialAramaic | See the Rust documentation for |
| Inherited | See the Rust documentation for |
| InscriptionalPahlavi | See the Rust documentation for |
| InscriptionalParthian | See the Rust documentation for |
| Javanese | See the Rust documentation for |
| Kaithi | See the Rust documentation for |
| Kannada | See the Rust documentation for |
| Katakana | See the Rust documentation for |
| Kawi | See the Rust documentation for |
| KayahLi | See the Rust documentation for |
| Kharoshthi | See the Rust documentation for |
| KhitanSmallScript | See the Rust documentation for |
| Khmer | See the Rust documentation for |
| Khojki | See the Rust documentation for |
| Khudawadi | See the Rust documentation for |
| KiratRai | See the Rust documentation for |
| Lao | See the Rust documentation for |
| Latin | See the Rust documentation for |
| Lepcha | See the Rust documentation for |
| Limbu | See the Rust documentation for |
| LinearA | See the Rust documentation for |
| LinearB | See the Rust documentation for |
| Lisu | See the Rust documentation for |
| Lycian | See the Rust documentation for |
| Lydian | See the Rust documentation for |
| Mahajani | See the Rust documentation for |
| Makasar | See the Rust documentation for |
| Malayalam | See the Rust documentation for |
| Mandaic | See the Rust documentation for |
| Manichaean | See the Rust documentation for |
| Marchen | See the Rust documentation for |
| MasaramGondi | See the Rust documentation for |
| Medefaidrin | See the Rust documentation for |
| MeeteiMayek | See the Rust documentation for |
| MendeKikakui | See the Rust documentation for |
| MeroiticCursive | See the Rust documentation for |
| MeroiticHieroglyphs | See the Rust documentation for |
| Miao | See the Rust documentation for |
| Modi | See the Rust documentation for |
| Mongolian | See the Rust documentation for |
| Mro | See the Rust documentation for |
| Multani | See the Rust documentation for |
| Myanmar | See the Rust documentation for |
| Nabataean | See the Rust documentation for |
| NagMundari | See the Rust documentation for |
| Nandinagari | See the Rust documentation for |
| Nastaliq | See the Rust documentation for |
| NewTaiLue | See the Rust documentation for |
| Newa | See the Rust documentation for |
| Nko | See the Rust documentation for |
| Nushu | See the Rust documentation for |
| NyiakengPuachueHmong | See the Rust documentation for |
| Ogham | See the Rust documentation for |
| OlChiki | See the Rust documentation for |
| OlOnal | See the Rust documentation for |
| OldHungarian | See the Rust documentation for |
| OldItalic | See the Rust documentation for |
| OldNorthArabian | See the Rust documentation for |
| OldPermic | See the Rust documentation for |
| OldPersian | See the Rust documentation for |
| OldSogdian | See the Rust documentation for |
| OldSouthArabian | See the Rust documentation for |
| OldTurkic | See the Rust documentation for |
| OldUyghur | See the Rust documentation for |
| Oriya | See the Rust documentation for |
| Osage | See the Rust documentation for |
| Osmanya | See the Rust documentation for |
| PahawhHmong | See the Rust documentation for |
| Palmyrene | See the Rust documentation for |
| PauCinHau | See the Rust documentation for |
| PhagsPa | See the Rust documentation for |
| Phoenician | See the Rust documentation for |
| PsalterPahlavi | See the Rust documentation for |
| Rejang | See the Rust documentation for |
| Runic | See the Rust documentation for |
| Samaritan | See the Rust documentation for |
| Saurashtra | See the Rust documentation for |
| Sharada | See the Rust documentation for |
| Shavian | See the Rust documentation for |
| Siddham | See the Rust documentation for |
| Sidetic | See the Rust documentation for |
| SignWriting | See the Rust documentation for |
| Sinhala | See the Rust documentation for |
| Sogdian | See the Rust documentation for |
| SoraSompeng | See the Rust documentation for |
| Soyombo | See the Rust documentation for |
| Sundanese | See the Rust documentation for |
| Sunuwar | See the Rust documentation for |
| SylotiNagri | See the Rust documentation for |
| Syriac | See the Rust documentation for |
| Tagalog | See the Rust documentation for |
| Tagbanwa | See the Rust documentation for |
| TaiLe | See the Rust documentation for |
| TaiTham | See the Rust documentation for |
| TaiViet | See the Rust documentation for |
| TaiYo | See the Rust documentation for |
| Takri | See the Rust documentation for |
| Tamil | See the Rust documentation for |
| Tangsa | See the Rust documentation for |
| Tangut | See the Rust documentation for |
| Telugu | See the Rust documentation for |
| Thaana | See the Rust documentation for |
| Thai | See the Rust documentation for |
| Tibetan | See the Rust documentation for |
| Tifinagh | See the Rust documentation for |
| Tirhuta | See the Rust documentation for |
| Todhri | See the Rust documentation for |
| TolongSiki | See the Rust documentation for |
| Toto | See the Rust documentation for |
| TuluTigalari | See the Rust documentation for |
| Ugaritic | See the Rust documentation for |
| Unknown | See the Rust documentation for |
| Vai | See the Rust documentation for |
| Vithkuqi | See the Rust documentation for |
| Wancho | See the Rust documentation for |
| WarangCiti | See the Rust documentation for |
| Yezidi | See the Rust documentation for |
| Yi | See the Rust documentation for |
| ZanabazarSquare | See the Rust documentation for |
|
inline |
|
inlineconstexpr |
|
inlinestatic |
See the Rust documentation for for_char for more information.
|
inlinestatic |
Convert from an integer value from ICU4C or CodePointMapData
See the Rust documentation for from_icu4c_value for more information.
|
inline |
Get the "long" name of this property value (returns empty if property value is unknown)
See the Rust documentation for get for more information.
|
explicitdelete |
|
inlineconstexpr |
|
inline |
Get the "short" name of this property value (returns empty if property value is unknown)
See the Rust documentation for get for more information.
|
inline |
Convert to an integer value usable with ICU4C and CodePointMapData
See the Rust documentation for to_icu4c_value for more information.
|
inlinestatic |