ICU4X
International Components for Unicode
Loading...
Searching...
No Matches
icu4x::Script Class Reference

#include <Script.d.hpp>

Public Types

enum  Value {
  Common = 0 , Inherited = 1 , Arabic = 2 , Armenian = 3 ,
  Bengali = 4 , Bopomofo = 5 , Cherokee = 6 , Coptic = 7 ,
  Cyrillic = 8 , Deseret = 9 , Devanagari = 10 , Ethiopian = 11 ,
  Georgian = 12 , Gothic = 13 , Greek = 14 , Gujarati = 15 ,
  Gurmukhi = 16 , Han = 17 , Hangul = 18 , Hebrew = 19 ,
  Hiragana = 20 , Kannada = 21 , Katakana = 22 , Khmer = 23 ,
  Lao = 24 , Latin = 25 , Malayalam = 26 , Mongolian = 27 ,
  Myanmar = 28 , Ogham = 29 , OldItalic = 30 , Oriya = 31 ,
  Runic = 32 , Sinhala = 33 , Syriac = 34 , Tamil = 35 ,
  Telugu = 36 , Thaana = 37 , Thai = 38 , Tibetan = 39 ,
  CanadianAboriginal = 40 , Yi = 41 , Tagalog = 42 , Hanunoo = 43 ,
  Buhid = 44 , Tagbanwa = 45 , Braille = 46 , Cypriot = 47 ,
  Limbu = 48 , LinearB = 49 , Osmanya = 50 , Shavian = 51 ,
  TaiLe = 52 , Ugaritic = 53 , KatakanaOrHiragana = 54 , Buginese = 55 ,
  Glagolitic = 56 , Kharoshthi = 57 , SylotiNagri = 58 , NewTaiLue = 59 ,
  Tifinagh = 60 , OldPersian = 61 , Balinese = 62 , Batak = 63 ,
  BlisSymbols = 64 , Brahmi = 65 , Cham = 66 , Cirth = 67 ,
  OldChurchSlavonicCyrillic = 68 , DemoticEgyptian = 69 , HieraticEgyptian = 70 , EgyptianHieroglyphs = 71 ,
  Khutsuri = 72 , SimplifiedHan = 73 , TraditionalHan = 74 , PahawhHmong = 75 ,
  OldHungarian = 76 , HarappanIndus = 77 , Javanese = 78 , KayahLi = 79 ,
  LatinFraktur = 80 , LatinGaelic = 81 , Lepcha = 82 , LinearA = 83 ,
  Mandaic = 84 , MayanHieroglyphs = 85 , MeroiticHieroglyphs = 86 , Nko = 87 ,
  OldTurkic = 88 , OldPermic = 89 , PhagsPa = 90 , Phoenician = 91 ,
  Miao = 92 , Rongorongo = 93 , Sarati = 94 , EstrangeloSyriac = 95 ,
  WesternSyriac = 96 , EasternSyriac = 97 , Tengwar = 98 , Vai = 99 ,
  VisibleSpeech = 100 , Cuneiform = 101 , UnwrittenLanguages = 102 , Unknown = 103 ,
  Carian = 104 , Japanese = 105 , TaiTham = 106 , Lycian = 107 ,
  Lydian = 108 , OlChiki = 109 , Rejang = 110 , Saurashtra = 111 ,
  SignWriting = 112 , Sundanese = 113 , Moon = 114 , MeeteiMayek = 115 ,
  ImperialAramaic = 116 , Avestan = 117 , Chakma = 118 , Korean = 119 ,
  Kaithi = 120 , Manichaean = 121 , InscriptionalPahlavi = 122 , PsalterPahlavi = 123 ,
  BookPahlavi = 124 , InscriptionalParthian = 125 , Samaritan = 126 , TaiViet = 127 ,
  MathematicalNotation = 128 , Symbols = 129 , Bamum = 130 , Lisu = 131 ,
  NakhiGeba = 132 , OldSouthArabian = 133 , BassaVah = 134 , Duployan = 135 ,
  Elbasan = 136 , Grantha = 137 , Kpelle = 138 , Loma = 139 ,
  MendeKikakui = 140 , MeroiticCursive = 141 , OldNorthArabian = 142 , Nabataean = 143 ,
  Palmyrene = 144 , Khudawadi = 145 , WarangCiti = 146 , Afaka = 147 ,
  Jurchen = 148 , Mro = 149 , Nushu = 150 , Sharada = 151 ,
  SoraSompeng = 152 , Takri = 153 , Tangut = 154 , Woleai = 155 ,
  AnatolianHieroglyphs = 156 , Khojki = 157 , Tirhuta = 158 , CaucasianAlbanian = 159 ,
  Mahajani = 160 , Ahom = 161 , Hatran = 162 , Modi = 163 ,
  Multani = 164 , PauCinHau = 165 , Siddham = 166 , Adlam = 167 ,
  Bhaiksuki = 168 , Marchen = 169 , Newa = 170 , Osage = 171 ,
  HanWithBopomofo = 172 , Jamo = 173 , SymbolsEmoji = 174 , MasaramGondi = 175 ,
  Soyombo = 176 , ZanabazarSquare = 177 , Dogra = 178 , GunjalaGondi = 179 ,
  Makasar = 180 , Medefaidrin = 181 , HanifiRohingya = 182 , Sogdian = 183 ,
  OldSogdian = 184 , Elymaic = 185 , NyiakengPuachueHmong = 186 , Nandinagari = 187 ,
  Wancho = 188 , Chorasmian = 189 , DivesAkuru = 190 , KhitanSmallScript = 191 ,
  Yezidi = 192 , CyproMinoan = 193 , OldUyghur = 194 , Tangsa = 195 ,
  Toto = 196 , Vithkuqi = 197 , Kawi = 198 , NagMundari = 199 ,
  Nastaliq = 200 , Garay = 201 , GurungKhema = 202 , KiratRai = 203 ,
  OlOnal = 204 , Sunuwar = 205 , Todhri = 206 , TuluTigalari = 207 ,
  BeriaErfe = 208 , Sidetic = 209 , TaiYo = 210 , TolongSiki = 211 ,
  TraditionalHanWithLatin = 212 , Chisoi = 254
}
 

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::Scriptfrom_integer_value (uint16_t other)
 
static std::optional< icu4x::Scripttry_from_str (std::string_view s)
 

Detailed Description

See the Rust documentation for Script for more information.

Member Enumeration Documentation

◆ Value

Enumerator
Common 

See the Rust documentation for Common for more information.

Inherited 

See the Rust documentation for Inherited for more information.

Arabic 

See the Rust documentation for Arabic for more information.

Armenian 

See the Rust documentation for Armenian for more information.

Bengali 

See the Rust documentation for Bengali for more information.

Bopomofo 

See the Rust documentation for Bopomofo for more information.

Cherokee 

See the Rust documentation for Cherokee for more information.

Coptic 

See the Rust documentation for Coptic for more information.

Cyrillic 

See the Rust documentation for Cyrillic for more information.

Deseret 

See the Rust documentation for Deseret for more information.

Devanagari 

See the Rust documentation for Devanagari for more information.

Ethiopian 

See the Rust documentation for Ethiopic for more information.

Georgian 

See the Rust documentation for Georgian for more information.

Gothic 

See the Rust documentation for Gothic for more information.

Greek 

See the Rust documentation for Greek for more information.

Gujarati 

See the Rust documentation for Gujarati for more information.

Gurmukhi 

See the Rust documentation for Gurmukhi for more information.

Han 

See the Rust documentation for Han for more information.

Hangul 

See the Rust documentation for Hangul for more information.

Hebrew 

See the Rust documentation for Hebrew for more information.

Hiragana 

See the Rust documentation for Hiragana for more information.

Kannada 

See the Rust documentation for Kannada for more information.

Katakana 

See the Rust documentation for Katakana for more information.

Khmer 

See the Rust documentation for Khmer for more information.

Lao 

See the Rust documentation for Lao for more information.

Latin 

See the Rust documentation for Latin for more information.

Malayalam 

See the Rust documentation for Malayalam for more information.

Mongolian 

See the Rust documentation for Mongolian for more information.

Myanmar 

See the Rust documentation for Myanmar for more information.

Ogham 

See the Rust documentation for Ogham for more information.

OldItalic 

See the Rust documentation for OldItalic for more information.

Oriya 

See the Rust documentation for Oriya for more information.

Runic 

See the Rust documentation for Runic for more information.

Sinhala 

See the Rust documentation for Sinhala for more information.

Syriac 

See the Rust documentation for Syriac for more information.

Tamil 

See the Rust documentation for Tamil for more information.

Telugu 

See the Rust documentation for Telugu for more information.

Thaana 

See the Rust documentation for Thaana for more information.

Thai 

See the Rust documentation for Thai for more information.

Tibetan 

See the Rust documentation for Tibetan for more information.

CanadianAboriginal 

See the Rust documentation for CanadianAboriginal for more information.

Yi 

See the Rust documentation for Yi for more information.

Tagalog 

See the Rust documentation for Tagalog for more information.

Hanunoo 

See the Rust documentation for Hanunoo for more information.

Buhid 

See the Rust documentation for Buhid for more information.

Tagbanwa 

See the Rust documentation for Tagbanwa for more information.

Braille 

See the Rust documentation for Braille for more information.

Cypriot 

See the Rust documentation for Cypriot for more information.

Limbu 

See the Rust documentation for Limbu for more information.

LinearB 

See the Rust documentation for LinearB for more information.

Osmanya 

See the Rust documentation for Osmanya for more information.

Shavian 

See the Rust documentation for Shavian for more information.

TaiLe 

See the Rust documentation for TaiLe for more information.

Ugaritic 

See the Rust documentation for Ugaritic for more information.

KatakanaOrHiragana 

See the Rust documentation for KatakanaOrHiragana for more information.

Buginese 

See the Rust documentation for Buginese for more information.

Glagolitic 

See the Rust documentation for Glagolitic for more information.

Kharoshthi 

See the Rust documentation for Kharoshthi for more information.

SylotiNagri 

See the Rust documentation for SylotiNagri for more information.

NewTaiLue 

See the Rust documentation for NewTaiLue for more information.

Tifinagh 

See the Rust documentation for Tifinagh for more information.

OldPersian 

See the Rust documentation for OldPersian for more information.

Balinese 

See the Rust documentation for Balinese for more information.

Batak 

See the Rust documentation for Batak for more information.

BlisSymbols 

See the Rust documentation for BlisSymbols for more information.

Brahmi 

See the Rust documentation for Brahmi for more information.

Cham 

See the Rust documentation for Cham for more information.

Cirth 

See the Rust documentation for Cirth for more information.

OldChurchSlavonicCyrillic 

See the Rust documentation for OldChurchSlavonicCyrillic for more information.

DemoticEgyptian 

See the Rust documentation for DemoticEgyptian for more information.

HieraticEgyptian 

See the Rust documentation for HieraticEgyptian for more information.

EgyptianHieroglyphs 

See the Rust documentation for EgyptianHieroglyphs for more information.

Khutsuri 

See the Rust documentation for Khutsuri for more information.

SimplifiedHan 

See the Rust documentation for SimplifiedHan for more information.

TraditionalHan 

See the Rust documentation for TraditionalHan for more information.

PahawhHmong 

See the Rust documentation for PahawhHmong for more information.

OldHungarian 

See the Rust documentation for OldHungarian for more information.

HarappanIndus 

See the Rust documentation for HarappanIndus for more information.

Javanese 

See the Rust documentation for Javanese for more information.

KayahLi 

See the Rust documentation for KayahLi for more information.

LatinFraktur 

See the Rust documentation for LatinFraktur for more information.

LatinGaelic 

See the Rust documentation for LatinGaelic for more information.

Lepcha 

See the Rust documentation for Lepcha for more information.

LinearA 

See the Rust documentation for LinearA for more information.

Mandaic 

See the Rust documentation for Mandaic for more information.

MayanHieroglyphs 

See the Rust documentation for MayanHieroglyphs for more information.

MeroiticHieroglyphs 

See the Rust documentation for MeroiticHieroglyphs for more information.

Nko 

See the Rust documentation for Nko for more information.

OldTurkic 

See the Rust documentation for OldTurkic for more information.

OldPermic 

See the Rust documentation for OldPermic for more information.

PhagsPa 

See the Rust documentation for PhagsPa for more information.

Phoenician 

See the Rust documentation for Phoenician for more information.

Miao 

See the Rust documentation for Miao for more information.

Rongorongo 

See the Rust documentation for Rongorongo for more information.

Sarati 

See the Rust documentation for Sarati for more information.

EstrangeloSyriac 

See the Rust documentation for EstrangeloSyriac for more information.

WesternSyriac 

See the Rust documentation for WesternSyriac for more information.

EasternSyriac 

See the Rust documentation for EasternSyriac for more information.

Tengwar 

See the Rust documentation for Tengwar for more information.

Vai 

See the Rust documentation for Vai for more information.

VisibleSpeech 

See the Rust documentation for VisibleSpeech for more information.

Cuneiform 

See the Rust documentation for Cuneiform for more information.

UnwrittenLanguages 

See the Rust documentation for UnwrittenLanguages for more information.

Unknown 

See the Rust documentation for Unknown for more information.

Carian 

See the Rust documentation for Carian for more information.

Japanese 

See the Rust documentation for Japanese for more information.

TaiTham 

See the Rust documentation for TaiTham for more information.

Lycian 

See the Rust documentation for Lycian for more information.

Lydian 

See the Rust documentation for Lydian for more information.

OlChiki 

See the Rust documentation for OlChiki for more information.

Rejang 

See the Rust documentation for Rejang for more information.

Saurashtra 

See the Rust documentation for Saurashtra for more information.

SignWriting 

See the Rust documentation for SignWriting for more information.

Sundanese 

See the Rust documentation for Sundanese for more information.

Moon 

See the Rust documentation for Moon for more information.

MeeteiMayek 

See the Rust documentation for MeeteiMayek for more information.

ImperialAramaic 

See the Rust documentation for ImperialAramaic for more information.

Avestan 

See the Rust documentation for Avestan for more information.

Chakma 

See the Rust documentation for Chakma for more information.

Korean 

See the Rust documentation for Korean for more information.

Kaithi 

See the Rust documentation for Kaithi for more information.

Manichaean 

See the Rust documentation for Manichaean for more information.

InscriptionalPahlavi 

See the Rust documentation for InscriptionalPahlavi for more information.

PsalterPahlavi 

See the Rust documentation for PsalterPahlavi for more information.

BookPahlavi 

See the Rust documentation for BookPahlavi for more information.

InscriptionalParthian 

See the Rust documentation for InscriptionalParthian for more information.

Samaritan 

See the Rust documentation for Samaritan for more information.

TaiViet 

See the Rust documentation for TaiViet for more information.

MathematicalNotation 

See the Rust documentation for MathematicalNotation for more information.

Symbols 

See the Rust documentation for Symbols for more information.

Bamum 

See the Rust documentation for Bamum for more information.

Lisu 

See the Rust documentation for Lisu for more information.

NakhiGeba 

See the Rust documentation for NakhiGeba for more information.

OldSouthArabian 

See the Rust documentation for OldSouthArabian for more information.

BassaVah 

See the Rust documentation for BassaVah for more information.

Duployan 

See the Rust documentation for Duployan for more information.

Elbasan 

See the Rust documentation for Elbasan for more information.

Grantha 

See the Rust documentation for Grantha for more information.

Kpelle 

See the Rust documentation for Kpelle for more information.

Loma 

See the Rust documentation for Loma for more information.

MendeKikakui 

See the Rust documentation for MendeKikakui for more information.

MeroiticCursive 

See the Rust documentation for MeroiticCursive for more information.

OldNorthArabian 

See the Rust documentation for OldNorthArabian for more information.

Nabataean 

See the Rust documentation for Nabataean for more information.

Palmyrene 

See the Rust documentation for Palmyrene for more information.

Khudawadi 

See the Rust documentation for Khudawadi for more information.

WarangCiti 

See the Rust documentation for WarangCiti for more information.

Afaka 

See the Rust documentation for Afaka for more information.

Jurchen 

See the Rust documentation for Jurchen for more information.

Mro 

See the Rust documentation for Mro for more information.

Nushu 

See the Rust documentation for Nushu for more information.

Sharada 

See the Rust documentation for Sharada for more information.

SoraSompeng 

See the Rust documentation for SoraSompeng for more information.

Takri 

See the Rust documentation for Takri for more information.

Tangut 

See the Rust documentation for Tangut for more information.

Woleai 

See the Rust documentation for Woleai for more information.

AnatolianHieroglyphs 

See the Rust documentation for AnatolianHieroglyphs for more information.

Khojki 

See the Rust documentation for Khojki for more information.

Tirhuta 

See the Rust documentation for Tirhuta for more information.

CaucasianAlbanian 

See the Rust documentation for CaucasianAlbanian for more information.

Mahajani 

See the Rust documentation for Mahajani for more information.

Ahom 

See the Rust documentation for Ahom for more information.

Hatran 

See the Rust documentation for Hatran for more information.

Modi 

See the Rust documentation for Modi for more information.

Multani 

See the Rust documentation for Multani for more information.

PauCinHau 

See the Rust documentation for PauCinHau for more information.

Siddham 

See the Rust documentation for Siddham for more information.

Adlam 

See the Rust documentation for Adlam for more information.

Bhaiksuki 

See the Rust documentation for Bhaiksuki for more information.

Marchen 

See the Rust documentation for Marchen for more information.

Newa 

See the Rust documentation for Newa for more information.

Osage 

See the Rust documentation for Osage for more information.

HanWithBopomofo 

See the Rust documentation for HanWithBopomofo for more information.

Jamo 

See the Rust documentation for Jamo for more information.

SymbolsEmoji 

See the Rust documentation for SymbolsEmoji for more information.

MasaramGondi 

See the Rust documentation for MasaramGondi for more information.

Soyombo 

See the Rust documentation for Soyombo for more information.

ZanabazarSquare 

See the Rust documentation for ZanabazarSquare for more information.

Dogra 

See the Rust documentation for Dogra for more information.

GunjalaGondi 

See the Rust documentation for GunjalaGondi for more information.

Makasar 

See the Rust documentation for Makasar for more information.

Medefaidrin 

See the Rust documentation for Medefaidrin for more information.

HanifiRohingya 

See the Rust documentation for HanifiRohingya for more information.

Sogdian 

See the Rust documentation for Sogdian for more information.

OldSogdian 

See the Rust documentation for OldSogdian for more information.

Elymaic 

See the Rust documentation for Elymaic for more information.

NyiakengPuachueHmong 

See the Rust documentation for NyiakengPuachueHmong for more information.

Nandinagari 

See the Rust documentation for Nandinagari for more information.

Wancho 

See the Rust documentation for Wancho for more information.

Chorasmian 

See the Rust documentation for Chorasmian for more information.

DivesAkuru 

See the Rust documentation for DivesAkuru for more information.

KhitanSmallScript 

See the Rust documentation for KhitanSmallScript for more information.

Yezidi 

See the Rust documentation for Yezidi for more information.

CyproMinoan 

See the Rust documentation for CyproMinoan for more information.

OldUyghur 

See the Rust documentation for OldUyghur for more information.

Tangsa 

See the Rust documentation for Tangsa for more information.

Toto 

See the Rust documentation for Toto for more information.

Vithkuqi 

See the Rust documentation for Vithkuqi for more information.

Kawi 

See the Rust documentation for Kawi for more information.

NagMundari 

See the Rust documentation for NagMundari for more information.

Nastaliq 

See the Rust documentation for ArabicNastaliq for more information.

Garay 

See the Rust documentation for Garay for more information.

GurungKhema 

See the Rust documentation for GurungKhema for more information.

KiratRai 

See the Rust documentation for KiratRai for more information.

OlOnal 

See the Rust documentation for OlOnal for more information.

Sunuwar 

See the Rust documentation for Sunuwar for more information.

Todhri 

See the Rust documentation for Todhri for more information.

TuluTigalari 

See the Rust documentation for TuluTigalari for more information.

BeriaErfe 

See the Rust documentation for BeriaErfe for more information.

Sidetic 

See the Rust documentation for Sidetic for more information.

TaiYo 

See the Rust documentation for TaiYo for more information.

TolongSiki 

See the Rust documentation for TolongSiki for more information.

TraditionalHanWithLatin 

See the Rust documentation for TraditionalHanWithLatin for more information.

Chisoi 

See the Rust documentation for Chisoi for more information.

Constructor & Destructor Documentation

◆ Script() [1/2]

icu4x::Script::Script ( )
inline

◆ Script() [2/2]

constexpr icu4x::Script::Script ( Value  v)
inlineconstexpr

Member Function Documentation

◆ for_char()

icu4x::Script icu4x::Script::for_char ( char32_t  ch)
inlinestatic

See the Rust documentation for for_char for more information.

◆ from_integer_value()

std::optional< icu4x::Script > icu4x::Script::from_integer_value ( uint16_t  other)
inlinestatic

Convert from an integer value from ICU4C or CodePointMapData

See the Rust documentation for from_icu4c_value for more information.

◆ long_name()

std::optional< std::string_view > icu4x::Script::long_name ( ) const
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.

◆ operator bool()

icu4x::Script::operator bool ( ) const
explicitdelete

◆ operator Value()

constexpr icu4x::Script::operator Value ( ) const
inlineconstexpr

◆ short_name()

std::optional< std::string_view > icu4x::Script::short_name ( ) const
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.

◆ to_integer_value()

uint16_t icu4x::Script::to_integer_value ( ) const
inline

Convert to an integer value usable with ICU4C and CodePointMapData

See the Rust documentation for to_icu4c_value for more information.

◆ try_from_str()

std::optional< icu4x::Script > icu4x::Script::try_from_str ( std::string_view  s)
inlinestatic

Creates a Script from a string.

Short names, long names, and aliases are supported, and matching is case-insensitive.


The documentation for this class was generated from the following files: