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

#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::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
Adlam 

See the Rust documentation for Adlam for more information.

Ahom 

See the Rust documentation for Ahom for more information.

AnatolianHieroglyphs 

See the Rust documentation for AnatolianHieroglyphs for more information.

Arabic 

See the Rust documentation for Arabic for more information.

Armenian 

See the Rust documentation for Armenian for more information.

Avestan 

See the Rust documentation for Avestan for more information.

Balinese 

See the Rust documentation for Balinese for more information.

Bamum 

See the Rust documentation for Bamum for more information.

BassaVah 

See the Rust documentation for BassaVah for more information.

Batak 

See the Rust documentation for Batak for more information.

Bengali 

See the Rust documentation for Bengali for more information.

BeriaErfe 

See the Rust documentation for BeriaErfe for more information.

Bhaiksuki 

See the Rust documentation for Bhaiksuki for more information.

Bopomofo 

See the Rust documentation for Bopomofo for more information.

Brahmi 

See the Rust documentation for Brahmi for more information.

Braille 

See the Rust documentation for Braille for more information.

Buginese 

See the Rust documentation for Buginese for more information.

Buhid 

See the Rust documentation for Buhid for more information.

CanadianAboriginal 

See the Rust documentation for CanadianAboriginal for more information.

Carian 

See the Rust documentation for Carian for more information.

CaucasianAlbanian 

See the Rust documentation for CaucasianAlbanian for more information.

Chakma 

See the Rust documentation for Chakma for more information.

Cham 

See the Rust documentation for Cham for more information.

Cherokee 

See the Rust documentation for Cherokee for more information.

Chisoi 

See the Rust documentation for Chisoi for more information.

Chorasmian 

See the Rust documentation for Chorasmian for more information.

Common 

See the Rust documentation for Common for more information.

Coptic 

See the Rust documentation for Coptic for more information.

Cuneiform 

See the Rust documentation for Cuneiform for more information.

Cypriot 

See the Rust documentation for Cypriot for more information.

CyproMinoan 

See the Rust documentation for CyproMinoan 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.

DivesAkuru 

See the Rust documentation for DivesAkuru for more information.

Dogra 

See the Rust documentation for Dogra for more information.

Duployan 

See the Rust documentation for Duployan for more information.

EgyptianHieroglyphs 

See the Rust documentation for EgyptianHieroglyphs for more information.

Elbasan 

See the Rust documentation for Elbasan for more information.

Elymaic 

See the Rust documentation for Elymaic for more information.

Ethiopian 

See the Rust documentation for Ethiopian for more information.

Garay 

See the Rust documentation for Garay for more information.

Georgian 

See the Rust documentation for Georgian for more information.

Glagolitic 

See the Rust documentation for Glagolitic for more information.

Gothic 

See the Rust documentation for Gothic for more information.

Grantha 

See the Rust documentation for Grantha for more information.

Greek 

See the Rust documentation for Greek for more information.

Gujarati 

See the Rust documentation for Gujarati for more information.

GunjalaGondi 

See the Rust documentation for GunjalaGondi for more information.

Gurmukhi 

See the Rust documentation for Gurmukhi for more information.

GurungKhema 

See the Rust documentation for GurungKhema for more information.

Han 

See the Rust documentation for Han for more information.

Hangul 

See the Rust documentation for Hangul for more information.

HanifiRohingya 

See the Rust documentation for HanifiRohingya for more information.

Hanunoo 

See the Rust documentation for Hanunoo for more information.

Hatran 

See the Rust documentation for Hatran for more information.

Hebrew 

See the Rust documentation for Hebrew for more information.

Hiragana 

See the Rust documentation for Hiragana for more information.

ImperialAramaic 

See the Rust documentation for ImperialAramaic for more information.

Inherited 

See the Rust documentation for Inherited for more information.

InscriptionalPahlavi 

See the Rust documentation for InscriptionalPahlavi for more information.

InscriptionalParthian 

See the Rust documentation for InscriptionalParthian for more information.

Javanese 

See the Rust documentation for Javanese for more information.

Kaithi 

See the Rust documentation for Kaithi for more information.

Kannada 

See the Rust documentation for Kannada for more information.

Katakana 

See the Rust documentation for Katakana for more information.

Kawi 

See the Rust documentation for Kawi for more information.

KayahLi 

See the Rust documentation for KayahLi for more information.

Kharoshthi 

See the Rust documentation for Kharoshthi for more information.

KhitanSmallScript 

See the Rust documentation for KhitanSmallScript for more information.

Khmer 

See the Rust documentation for Khmer for more information.

Khojki 

See the Rust documentation for Khojki for more information.

Khudawadi 

See the Rust documentation for Khudawadi for more information.

KiratRai 

See the Rust documentation for KiratRai for more information.

Lao 

See the Rust documentation for Lao for more information.

Latin 

See the Rust documentation for Latin for more information.

Lepcha 

See the Rust documentation for Lepcha for more information.

Limbu 

See the Rust documentation for Limbu for more information.

LinearA 

See the Rust documentation for LinearA for more information.

LinearB 

See the Rust documentation for LinearB for more information.

Lisu 

See the Rust documentation for Lisu for more information.

Lycian 

See the Rust documentation for Lycian for more information.

Lydian 

See the Rust documentation for Lydian for more information.

Mahajani 

See the Rust documentation for Mahajani for more information.

Makasar 

See the Rust documentation for Makasar for more information.

Malayalam 

See the Rust documentation for Malayalam for more information.

Mandaic 

See the Rust documentation for Mandaic for more information.

Manichaean 

See the Rust documentation for Manichaean for more information.

Marchen 

See the Rust documentation for Marchen for more information.

MasaramGondi 

See the Rust documentation for MasaramGondi for more information.

Medefaidrin 

See the Rust documentation for Medefaidrin for more information.

MeeteiMayek 

See the Rust documentation for MeeteiMayek for more information.

MendeKikakui 

See the Rust documentation for MendeKikakui for more information.

MeroiticCursive 

See the Rust documentation for MeroiticCursive for more information.

MeroiticHieroglyphs 

See the Rust documentation for MeroiticHieroglyphs for more information.

Miao 

See the Rust documentation for Miao for more information.

Modi 

See the Rust documentation for Modi for more information.

Mongolian 

See the Rust documentation for Mongolian for more information.

Mro 

See the Rust documentation for Mro for more information.

Multani 

See the Rust documentation for Multani for more information.

Myanmar 

See the Rust documentation for Myanmar for more information.

Nabataean 

See the Rust documentation for Nabataean for more information.

NagMundari 

See the Rust documentation for NagMundari for more information.

Nandinagari 

See the Rust documentation for Nandinagari for more information.

Nastaliq 

See the Rust documentation for Nastaliq for more information.

NewTaiLue 

See the Rust documentation for NewTaiLue for more information.

Newa 

See the Rust documentation for Newa for more information.

Nko 

See the Rust documentation for Nko for more information.

Nushu 

See the Rust documentation for Nushu for more information.

NyiakengPuachueHmong 

See the Rust documentation for NyiakengPuachueHmong for more information.

Ogham 

See the Rust documentation for Ogham for more information.

OlChiki 

See the Rust documentation for OlChiki for more information.

OlOnal 

See the Rust documentation for OlOnal for more information.

OldHungarian 

See the Rust documentation for OldHungarian for more information.

OldItalic 

See the Rust documentation for OldItalic for more information.

OldNorthArabian 

See the Rust documentation for OldNorthArabian for more information.

OldPermic 

See the Rust documentation for OldPermic for more information.

OldPersian 

See the Rust documentation for OldPersian for more information.

OldSogdian 

See the Rust documentation for OldSogdian for more information.

OldSouthArabian 

See the Rust documentation for OldSouthArabian for more information.

OldTurkic 

See the Rust documentation for OldTurkic for more information.

OldUyghur 

See the Rust documentation for OldUyghur for more information.

Oriya 

See the Rust documentation for Oriya for more information.

Osage 

See the Rust documentation for Osage for more information.

Osmanya 

See the Rust documentation for Osmanya for more information.

PahawhHmong 

See the Rust documentation for PahawhHmong for more information.

Palmyrene 

See the Rust documentation for Palmyrene for more information.

PauCinHau 

See the Rust documentation for PauCinHau for more information.

PhagsPa 

See the Rust documentation for PhagsPa for more information.

Phoenician 

See the Rust documentation for Phoenician for more information.

PsalterPahlavi 

See the Rust documentation for PsalterPahlavi for more information.

Rejang 

See the Rust documentation for Rejang for more information.

Runic 

See the Rust documentation for Runic for more information.

Samaritan 

See the Rust documentation for Samaritan for more information.

Saurashtra 

See the Rust documentation for Saurashtra for more information.

Sharada 

See the Rust documentation for Sharada for more information.

Shavian 

See the Rust documentation for Shavian for more information.

Siddham 

See the Rust documentation for Siddham for more information.

Sidetic 

See the Rust documentation for Sidetic for more information.

SignWriting 

See the Rust documentation for SignWriting for more information.

Sinhala 

See the Rust documentation for Sinhala for more information.

Sogdian 

See the Rust documentation for Sogdian for more information.

SoraSompeng 

See the Rust documentation for SoraSompeng for more information.

Soyombo 

See the Rust documentation for Soyombo for more information.

Sundanese 

See the Rust documentation for Sundanese for more information.

Sunuwar 

See the Rust documentation for Sunuwar for more information.

SylotiNagri 

See the Rust documentation for SylotiNagri for more information.

Syriac 

See the Rust documentation for Syriac for more information.

Tagalog 

See the Rust documentation for Tagalog for more information.

Tagbanwa 

See the Rust documentation for Tagbanwa for more information.

TaiLe 

See the Rust documentation for TaiLe for more information.

TaiTham 

See the Rust documentation for TaiTham for more information.

TaiViet 

See the Rust documentation for TaiViet for more information.

TaiYo 

See the Rust documentation for TaiYo for more information.

Takri 

See the Rust documentation for Takri for more information.

Tamil 

See the Rust documentation for Tamil for more information.

Tangsa 

See the Rust documentation for Tangsa for more information.

Tangut 

See the Rust documentation for Tangut 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.

Tifinagh 

See the Rust documentation for Tifinagh for more information.

Tirhuta 

See the Rust documentation for Tirhuta for more information.

Todhri 

See the Rust documentation for Todhri for more information.

TolongSiki 

See the Rust documentation for TolongSiki for more information.

Toto 

See the Rust documentation for Toto for more information.

TuluTigalari 

See the Rust documentation for TuluTigalari for more information.

Ugaritic 

See the Rust documentation for Ugaritic for more information.

Unknown 

See the Rust documentation for Unknown for more information.

Vai 

See the Rust documentation for Vai for more information.

Vithkuqi 

See the Rust documentation for Vithkuqi for more information.

Wancho 

See the Rust documentation for Wancho for more information.

WarangCiti 

See the Rust documentation for WarangCiti for more information.

Yezidi 

See the Rust documentation for Yezidi for more information.

Yi 

See the Rust documentation for Yi for more information.

ZanabazarSquare 

See the Rust documentation for ZanabazarSquare for more information.

Constructor & Destructor Documentation

◆ Script() [1/2]

icu4x::Script::Script ( )
inline

◆ Script() [2/2]

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()

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

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