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

source

pub fn to_integer(self) -> u16

source

pub fn from_integer(other: u16) -> Option<Self>

Trait Implementations§

source§

impl Clone for Script

source§

fn clone(&self) -> Script

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl From<Script> for Script

source§

fn from(other: Script) -> Self

Converts to this type from the input type.
source§

impl From<Script> for Script

source§

fn from(this: Script) -> Self

Converts to this type from the input type.
source§

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
source§

impl<T> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> ErasedDestructor for T
where T: 'static,

source§

impl<T> MaybeSendSync for T
where T: Send + Sync,