Enum icu_capi::properties_enums::ffi::Script
source · #[repr(C)]pub enum Script {
Show 165 variants
Adlam = 167,
Ahom = 161,
AnatolianHieroglyphs = 156,
Arabic = 2,
Armenian = 3,
Avestan = 117,
Balinese = 62,
Bamum = 130,
BassaVah = 134,
Batak = 63,
Bengali = 4,
Bhaiksuki = 168,
Bopomofo = 5,
Brahmi = 65,
Braille = 46,
Buginese = 55,
Buhid = 44,
CanadianAboriginal = 40,
Carian = 104,
CaucasianAlbanian = 159,
Chakma = 118,
Cham = 66,
Cherokee = 6,
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,
Georgian = 12,
Glagolitic = 56,
Gothic = 13,
Grantha = 137,
Greek = 14,
Gujarati = 15,
GunjalaGondi = 179,
Gurmukhi = 16,
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,
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,
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,
SignWriting = 112,
Sinhala = 33,
Sogdian = 183,
SoraSompeng = 152,
Soyombo = 176,
Sundanese = 113,
SylotiNagri = 58,
Syriac = 34,
Tagalog = 42,
Tagbanwa = 45,
TaiLe = 52,
TaiTham = 106,
TaiViet = 127,
Takri = 153,
Tamil = 35,
Tangsa = 195,
Tangut = 154,
Telugu = 36,
Thaana = 37,
Thai = 38,
Tibetan = 39,
Tifinagh = 60,
Tirhuta = 158,
Toto = 196,
Ugaritic = 53,
Unknown = 103,
Vai = 99,
Vithkuqi = 197,
Wancho = 188,
WarangCiti = 146,
Yezidi = 192,
Yi = 41,
ZanabazarSquare = 177,
}
Variants§
Adlam = 167
Ahom = 161
AnatolianHieroglyphs = 156
Arabic = 2
Armenian = 3
Avestan = 117
Balinese = 62
Bamum = 130
BassaVah = 134
Batak = 63
Bengali = 4
Bhaiksuki = 168
Bopomofo = 5
Brahmi = 65
Braille = 46
Buginese = 55
Buhid = 44
CanadianAboriginal = 40
Carian = 104
CaucasianAlbanian = 159
Chakma = 118
Cham = 66
Cherokee = 6
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
Georgian = 12
Glagolitic = 56
Gothic = 13
Grantha = 137
Greek = 14
Gujarati = 15
GunjalaGondi = 179
Gurmukhi = 16
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
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
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
SignWriting = 112
Sinhala = 33
Sogdian = 183
SoraSompeng = 152
Soyombo = 176
Sundanese = 113
SylotiNagri = 58
Syriac = 34
Tagalog = 42
Tagbanwa = 45
TaiLe = 52
TaiTham = 106
TaiViet = 127
Takri = 153
Tamil = 35
Tangsa = 195
Tangut = 154
Telugu = 36
Thaana = 37
Thai = 38
Tibetan = 39
Tifinagh = 60
Tirhuta = 158
Toto = 196
Ugaritic = 53
Unknown = 103
Vai = 99
Vithkuqi = 197
Wancho = 188
WarangCiti = 146
Yezidi = 192
Yi = 41
ZanabazarSquare = 177
Implementations§
source§impl Script
impl Script
pub fn to_integer(self) -> u16
pub fn from_integer(other: u16) -> Option<Self>
Trait Implementations§
impl Copy for Script
Auto Trait Implementations§
impl Freeze for Script
impl RefUnwindSafe for Script
impl Send for Script
impl Sync for Script
impl Unpin for Script
impl UnwindSafe for Script
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more