Enum ScriptLanguage

Source
#[non_exhaustive]
#[repr(usize)]
pub enum ScriptLanguage {
Show 401 variants Acehnese = 0, AcehneseJawi = 1, Afrikaans = 2, Ahom = 3, Akan = 4, Akkadian = 5, AlbanianElbasan = 6, AlbanianTodhri = 7, AlbanianTosk = 8, AlbanianToskVithkuqi = 9, Amharic = 10, AncientGreek = 11, AncientNorthArabian = 12, AncientSouthArabian = 13, Angkola = 14, Arabic = 15, ArabicEgyptian = 16, ArabicMesopotamian = 17, ArabicMoroccan = 18, ArabicNajdi = 19, ArabicNorthLevantine = 20, ArabicSouthernYemeni = 21, ArabicSouthLevantine = 22, ArabicTunisian = 23, AramaicElymaic = 24, AramaicHatran = 25, AramaicImperial = 26, AramaicMandaic = 27, AramaicNabataean = 28, AramaicPalmyrene = 29, AramaicSamaritan = 30, AramaicSyriac = 31, Armenian = 32, Assamese = 33, Asturian = 34, Avestan = 35, Awadhi = 36, AymaraCentral = 37, AzerbaijaniNorth = 38, AzerbaijaniSouth = 39, Balinese = 40, BalineseBalinese = 41, Bambara = 42, Bamum = 43, Banjar = 44, BanjarJawi = 45, Bantawa = 46, Bashkir = 47, Basque = 48, Bassa = 49, Belarusian = 50, Bemba = 51, Bengali = 52, Bhojpuri = 53, BhojpuriKaithi = 54, Bhumij = 55, BishnupriyaManipuri = 56, Bosnian = 57, Braille = 58, Buginese = 59, BugineseBuginese = 60, Buhid = 61, Bulgarian = 62, Burmese = 63, Carian = 64, Catalan = 65, CaucasianAlbanian = 66, Cebuano = 67, Chakma = 68, ChamEastern = 69, ChamWestern = 70, Cherokee = 71, Chhattisgarhi = 72, ChineseCantoneseTraditional = 73, ChineseMandarinBopomofo = 74, ChineseMandarinSimplified = 75, ChineseMandarinTraditional = 76, ChineseTuhua = 77, Chokwe = 78, Chorasmian = 79, ChurchSlavonicOld = 80, ChurchSlavonicOldGlagolitic = 81, Chuvash = 82, Coptic = 83, Cree = 84, CreoleHaitian = 85, Croatian = 86, Czech = 87, Danish = 88, Dhivehi = 89, DhivehiDivesAkuru = 90, Dholuo = 91, DinkaSouthwestern = 92, Dogri = 93, DogriDogra = 94, DogriPersoArabic = 95, DogriTakri = 96, Dutch = 97, Dyula = 98, Dzongkha = 99, EgyptianHieroglyphs = 100, English = 101, EnglishDeseret = 102, EnglishDuployan = 103, EnglishShavian = 104, Esperanto = 105, Estonian = 106, Etruscan = 107, Ewe = 108, Faroese = 109, Fijian = 110, Filipino = 111, FilipinoTagalog = 112, Finnish = 113, Fon = 114, French = 115, FrenchDuployan = 116, Friulian = 117, Fulani = 118, FulfuldeNigerian = 119, GaelicScottish = 120, Galician = 121, Ganda = 122, Gandhari = 123, Geez = 124, Georgian = 125, German = 126, GondiGunjala = 127, GondiMasaram = 128, Gothic = 129, Greek = 130, Guarani = 131, Gujarati = 132, GurungKhema = 133, Hanunoo = 134, Hausa = 135, Hawaiian = 136, Hebrew = 137, HebrewSamaritan = 138, Hindi = 139, HindiKaithi = 140, HindiMahajani = 141, Hittite = 142, HmongMiao = 143, HmongNyiakengPuachue = 144, HmongPahawh = 145, HoWarangCiti = 146, Hungarian = 147, HungarianOld = 148, Icelandic = 149, Igbo = 150, Ilocano = 151, Indonesian = 152, Inuktitut = 153, Irish = 154, Italian = 155, Japanese = 156, Javanese = 157, JavaneseJavanese = 158, Jingpho = 159, Kabiye = 160, Kabuverdianu = 161, Kabyle = 162, Kamba = 163, Kannada = 164, KannadaTuluTigalari = 165, KanuriCentral = 166, KanuriCentralAjami = 167, Karo = 168, Kashmiri = 169, KashmiriDevanagari = 170, KashmiriSharada = 171, KashmiriTakri = 172, KayahEastern = 173, KayahWestern = 174, Kazakh = 175, Khitan = 176, Khmer = 177, KikongoKituba = 178, Kikuyu = 179, Kimbundu = 180, Kinyarwanda = 181, KomiOldPermic = 182, Korean = 183, KurdishCentral = 184, KurdishNorthern = 185, KurdishNorthernYezidi = 186, KurdishSouthern = 187, KutchiKhojki = 188, Kyrgyz = 189, Lao = 190, LaoTaiTham = 191, Latgalian = 192, Latin = 193, Latvian = 194, Lepcha = 195, Ligurian = 196, Limbu = 197, Limburgish = 198, Lingala = 199, Lisu = 200, Lithuanian = 201, Loloish = 202, Lombard = 203, LubaKasai = 204, LuwianCuneiform = 205, LuwianHieroglyphic = 206, Luxembourgish = 207, Lycian = 208, Lydian = 209, Macedonian = 210, Magahi = 211, MagahiKaithi = 212, Maithili = 213, MaithiliKaithi = 214, MaithiliTirhuta = 215, MakassareseBuginese = 216, MakassareseMakasar = 217, Malay = 218, Malayalam = 219, MalgasyPlateau = 220, Maltese = 221, Mandailing = 222, MandailingBatak = 223, Manding = 224, Maori = 225, Marathi = 226, MarathiBrahmi = 227, MarathiModi = 228, Marwari = 229, Medefaidrin = 230, MeiteiBengali = 231, MeiteiMeeteiMayek = 232, Mende = 233, MeroiticCursive = 234, MeroiticHieroglyphs = 235, MiddlePersianManichaean = 236, MiddlePersianPahlaviInscriptional = 237, MiddlePersianPahlaviPsalter = 238, Minangkabau = 239, Minoan = 240, MinoanLinearA = 241, Mizo = 242, MongolianHalh = 243, MongolianHalhMongolian = 244, MongolianHalhPhagsPa = 245, MongolianHalhSoyombo = 246, MongolianHalhZanabazarSquare = 247, Mossi = 248, Mro = 249, Mundari = 250, MycenaeanGreek = 251, Nepali = 252, Newar = 253, NorthernThai = 254, NorwegianBokmal = 255, NorwegianNynorsk = 256, Nuer = 257, Nyanja = 258, Occitan = 259, Odia = 260, Ojibwe = 261, OldEnglishRunic = 262, OldIrishOgham = 263, OldJavanese = 264, OldNorse = 265, OldPersian = 266, OldTurkic = 267, OldUyghur = 268, OromoSouthern = 269, OromoWestCentral = 270, Osage = 271, Oscan = 272, Pakpak = 273, Pangasinan = 274, Papiamento = 275, Parthian = 276, PashtoSouthern = 277, PersianDari = 278, PersianWestern = 279, Phoenician = 280, Polish = 281, Portuguese = 282, Prakrit = 283, Pular = 284, PularAdlam = 285, PunjabiEastern = 286, PunjabiEasternMahajani = 287, PunjabiEasternShahmukhi = 288, QuechuaAyacucho = 289, RejangRejang = 290, Rohingya = 291, Romanian = 292, Rundi = 293, Russian = 294, Samoan = 295, Sango = 296, Sanskrit = 297, SanskritBhaiksuki = 298, SanskritBrahmi = 299, SanskritGrantha = 300, SanskritKawi = 301, SanskritNandinagari = 302, SanskritSharada = 303, SanskritSiddham = 304, SanskritSoyombo = 305, SanskritTuluTigalari = 306, SanskritZanabazarSquare = 307, Santali = 308, Saraiki = 309, SaraikiMultani = 310, Sardinian = 311, SaurashtraDevanagari = 312, SaurashtraSaurashtra = 313, Sepedi = 314, Serbian = 315, Sesotho = 316, Shan = 317, Shona = 318, Sicilian = 319, SignLanguages = 320, Silesian = 321, Simalungun = 322, Sindhi = 323, SindhiDevanagari = 324, SindhiKhojki = 325, SindhiKhudawadi = 326, Sinhala = 327, Slovak = 328, Slovene = 329, Sogdian = 330, SogdianManichaean = 331, SogdianOld = 332, Somali = 333, SomaliOsmanya = 334, Sora = 335, Spanish = 336, Sumerian = 337, Sundanese = 338, SundaneseSundanese = 339, Sunuwar = 340, Swahili = 341, Swati = 342, Swedish = 343, Sylheti = 344, Tagbanwa = 345, TaiDam = 346, TaiDon = 347, TaiLue = 348, TaiLueNew = 349, TaiNuea = 350, Tajik = 351, TamasheqLatin = 352, TamasheqTifinagh = 353, TamazightCentralAtlas = 354, Tamil = 355, TamilGrantha = 356, Tangsa = 357, Tangut = 358, Tatar = 359, TatarCrimean = 360, Tedim = 361, Telugu = 362, Thai = 363, Tibetan = 364, TibetanPhagsPa = 365, TibetanSoyombo = 366, TibetanZanabazarSquare = 367, Tigrinya = 368, TobaBatak = 369, TokPisin = 370, Toto = 371, Tsonga = 372, Tswana = 373, Tulu = 374, TuluTigalari = 375, Tumbuka = 376, Turkish = 377, Turkmen = 378, Twi = 379, Ugaritic = 380, Ukrainian = 381, Umbrian = 382, Umbundu = 383, Urdu = 384, Uyghur = 385, UzbekNorthern = 386, Vai = 387, Venetian = 388, Vietnamese = 389, Wancho = 390, WanchoWancho = 391, Waray = 392, Welsh = 393, Wolof = 394, WolofGaray = 395, Xhosa = 396, YiddishEastern = 397, Yoruba = 398, Zhangzhung = 399, Zulu = 400,
}
Expand description

Language + script. Value-names not always represent a script used, so a “default” script can be changed. Int representation is unstable and can be changed anytime. Parts representation (const into_parts/from_parts) or code representation (const into_code/from_code) or string representation (const into_str/from_str) are more stable.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

Acehnese = 0

§

AcehneseJawi = 1

§

Afrikaans = 2

§

Ahom = 3

§

Akan = 4

§

Akkadian = 5

§

AlbanianElbasan = 6

Historical

§

AlbanianTodhri = 7

Historical

§

AlbanianTosk = 8

§

AlbanianToskVithkuqi = 9

§

Amharic = 10

§

AncientGreek = 11

§

AncientNorthArabian = 12

§

AncientSouthArabian = 13

§

Angkola = 14

§

Arabic = 15

§

ArabicEgyptian = 16

§

ArabicMesopotamian = 17

§

ArabicMoroccan = 18

§

ArabicNajdi = 19

§

ArabicNorthLevantine = 20

§

ArabicSouthernYemeni = 21

§

ArabicSouthLevantine = 22

§

ArabicTunisian = 23

§

AramaicElymaic = 24

§

AramaicHatran = 25

§

AramaicImperial = 26

§

AramaicMandaic = 27

§

AramaicNabataean = 28

§

AramaicPalmyrene = 29

§

AramaicSamaritan = 30

§

AramaicSyriac = 31

§

Armenian = 32

§

Assamese = 33

§

Asturian = 34

§

Avestan = 35

§

Awadhi = 36

§

AymaraCentral = 37

§

AzerbaijaniNorth = 38

§

AzerbaijaniSouth = 39

§

Balinese = 40

§

BalineseBalinese = 41

§

Bambara = 42

§

Bamum = 43

§

Banjar = 44

§

BanjarJawi = 45

§

Bantawa = 46

§

Bashkir = 47

§

Basque = 48

§

Bassa = 49

§

Belarusian = 50

§

Bemba = 51

§

Bengali = 52

§

Bhojpuri = 53

§

BhojpuriKaithi = 54

§

Bhumij = 55

§

BishnupriyaManipuri = 56

§

Bosnian = 57

§

Braille = 58

any language adapted to Braille

§

Buginese = 59

§

BugineseBuginese = 60

§

Buhid = 61

§

Bulgarian = 62

§

Burmese = 63

§

Carian = 64

§

Catalan = 65

§

CaucasianAlbanian = 66

§

Cebuano = 67

§

Chakma = 68

§

ChamEastern = 69

§

ChamWestern = 70

§

Cherokee = 71

§

Chhattisgarhi = 72

§

ChineseCantoneseTraditional = 73

§

ChineseMandarinBopomofo = 74

§

ChineseMandarinSimplified = 75

§

ChineseMandarinTraditional = 76

§

ChineseTuhua = 77

§

Chokwe = 78

§

Chorasmian = 79

§

ChurchSlavonicOld = 80

§

ChurchSlavonicOldGlagolitic = 81

§

Chuvash = 82

§

Coptic = 83

§

Cree = 84

§

CreoleHaitian = 85

§

Croatian = 86

§

Czech = 87

§

Danish = 88

§

Dhivehi = 89

§

DhivehiDivesAkuru = 90

Historical

§

Dholuo = 91

§

DinkaSouthwestern = 92

§

Dogri = 93

§

DogriDogra = 94

§

DogriPersoArabic = 95

§

DogriTakri = 96

§

Dutch = 97

§

Dyula = 98

§

Dzongkha = 99

§

EgyptianHieroglyphs = 100

§

English = 101

§

EnglishDeseret = 102

§

EnglishDuployan = 103

shorthand systems for English

§

EnglishShavian = 104

§

Esperanto = 105

§

Estonian = 106

§

Etruscan = 107

§

Ewe = 108

§

Faroese = 109

§

Fijian = 110

§

Filipino = 111

§

FilipinoTagalog = 112

§

Finnish = 113

§

Fon = 114

§

French = 115

§

FrenchDuployan = 116

§

Friulian = 117

§

Fulani = 118

§

FulfuldeNigerian = 119

§

GaelicScottish = 120

§

Galician = 121

§

Ganda = 122

§

Gandhari = 123

§

Geez = 124

§

Georgian = 125

§

German = 126

§

GondiGunjala = 127

§

GondiMasaram = 128

§

Gothic = 129

§

Greek = 130

§

Guarani = 131

§

Gujarati = 132

§

GurungKhema = 133

§

Hanunoo = 134

§

Hausa = 135

§

Hawaiian = 136

§

Hebrew = 137

§

HebrewSamaritan = 138

§

Hindi = 139

§

HindiKaithi = 140

§

HindiMahajani = 141

§

Hittite = 142

§

HmongMiao = 143

§

HmongNyiakengPuachue = 144

§

HmongPahawh = 145

§

HoWarangCiti = 146

§

Hungarian = 147

§

HungarianOld = 148

§

Icelandic = 149

§

Igbo = 150

§

Ilocano = 151

§

Indonesian = 152

§

Inuktitut = 153

§

Irish = 154

§

Italian = 155

§

Japanese = 156

§

Javanese = 157

§

JavaneseJavanese = 158

§

Jingpho = 159

§

Kabiye = 160

§

Kabuverdianu = 161

§

Kabyle = 162

§

Kamba = 163

§

Kannada = 164

§

KannadaTuluTigalari = 165

§

KanuriCentral = 166

§

KanuriCentralAjami = 167

§

Karo = 168

§

Kashmiri = 169

§

KashmiriDevanagari = 170

§

KashmiriSharada = 171

§

KashmiriTakri = 172

§

KayahEastern = 173

§

KayahWestern = 174

§

Kazakh = 175

§

Khitan = 176

§

Khmer = 177

§

KikongoKituba = 178

§

Kikuyu = 179

§

Kimbundu = 180

§

Kinyarwanda = 181

§

KomiOldPermic = 182

§

Korean = 183

§

KurdishCentral = 184

§

KurdishNorthern = 185

§

KurdishNorthernYezidi = 186

§

KurdishSouthern = 187

§

KutchiKhojki = 188

§

Kyrgyz = 189

§

Lao = 190

§

LaoTaiTham = 191

§

Latgalian = 192

§

Latin = 193

§

Latvian = 194

§

Lepcha = 195

§

Ligurian = 196

§

Limbu = 197

§

Limburgish = 198

§

Lingala = 199

§

Lisu = 200

§

Lithuanian = 201

§

Loloish = 202

§

Lombard = 203

§

LubaKasai = 204

§

LuwianCuneiform = 205

§

LuwianHieroglyphic = 206

§

Luxembourgish = 207

§

Lycian = 208

§

Lydian = 209

§

Macedonian = 210

§

Magahi = 211

§

MagahiKaithi = 212

§

Maithili = 213

§

MaithiliKaithi = 214

§

MaithiliTirhuta = 215

§

MakassareseBuginese = 216

§

MakassareseMakasar = 217

Historical

§

Malay = 218

§

Malayalam = 219

§

MalgasyPlateau = 220

§

Maltese = 221

§

Mandailing = 222

§

MandailingBatak = 223

Historical

§

Manding = 224

§

Maori = 225

§

Marathi = 226

§

MarathiBrahmi = 227

§

MarathiModi = 228

§

Marwari = 229

§

Medefaidrin = 230

§

MeiteiBengali = 231

§

MeiteiMeeteiMayek = 232

§

Mende = 233

§

MeroiticCursive = 234

§

MeroiticHieroglyphs = 235

§

MiddlePersianManichaean = 236

§

MiddlePersianPahlaviInscriptional = 237

§

MiddlePersianPahlaviPsalter = 238

§

Minangkabau = 239

§

Minoan = 240

§

MinoanLinearA = 241

§

Mizo = 242

§

MongolianHalh = 243

§

MongolianHalhMongolian = 244

§

MongolianHalhPhagsPa = 245

§

MongolianHalhSoyombo = 246

§

MongolianHalhZanabazarSquare = 247

§

Mossi = 248

§

Mro = 249

§

Mundari = 250

§

MycenaeanGreek = 251

§

Nepali = 252

§

Newar = 253

§

NorthernThai = 254

§

NorwegianBokmal = 255

§

NorwegianNynorsk = 256

§

Nuer = 257

§

Nyanja = 258

§

Occitan = 259

§

Odia = 260

§

Ojibwe = 261

§

OldEnglishRunic = 262

§

OldIrishOgham = 263

§

OldJavanese = 264

§

OldNorse = 265

§

OldPersian = 266

§

OldTurkic = 267

§

OldUyghur = 268

§

OromoSouthern = 269

§

OromoWestCentral = 270

§

Osage = 271

§

Oscan = 272

§

Pakpak = 273

§

Pangasinan = 274

§

Papiamento = 275

§

Parthian = 276

§

PashtoSouthern = 277

§

PersianDari = 278

§

PersianWestern = 279

§

Phoenician = 280

§

Polish = 281

§

Portuguese = 282

§

Prakrit = 283

§

Pular = 284

§

PularAdlam = 285

§

PunjabiEastern = 286

§

PunjabiEasternMahajani = 287

§

PunjabiEasternShahmukhi = 288

§

QuechuaAyacucho = 289

§

RejangRejang = 290

Historical

§

Rohingya = 291

§

Romanian = 292

§

Rundi = 293

§

Russian = 294

§

Samoan = 295

§

Sango = 296

§

Sanskrit = 297

§

SanskritBhaiksuki = 298

§

SanskritBrahmi = 299

§

SanskritGrantha = 300

§

SanskritKawi = 301

§

SanskritNandinagari = 302

§

SanskritSharada = 303

§

SanskritSiddham = 304

§

SanskritSoyombo = 305

§

SanskritTuluTigalari = 306

§

SanskritZanabazarSquare = 307

§

Santali = 308

§

Saraiki = 309

§

SaraikiMultani = 310

§

Sardinian = 311

§

SaurashtraDevanagari = 312

§

SaurashtraSaurashtra = 313

§

Sepedi = 314

§

Serbian = 315

§

Sesotho = 316

§

Shan = 317

§

Shona = 318

§

Sicilian = 319

§

SignLanguages = 320

§

Silesian = 321

§

Simalungun = 322

§

Sindhi = 323

§

SindhiDevanagari = 324

§

SindhiKhojki = 325

§

SindhiKhudawadi = 326

§

Sinhala = 327

§

Slovak = 328

§

Slovene = 329

§

Sogdian = 330

§

SogdianManichaean = 331

§

SogdianOld = 332

§

Somali = 333

§

SomaliOsmanya = 334

§

Sora = 335

§

Spanish = 336

§

Sumerian = 337

§

Sundanese = 338

§

SundaneseSundanese = 339

§

Sunuwar = 340

§

Swahili = 341

§

Swati = 342

§

Swedish = 343

§

Sylheti = 344

§

Tagbanwa = 345

§

TaiDam = 346

§

TaiDon = 347

§

TaiLue = 348

§

TaiLueNew = 349

§

TaiNuea = 350

§

Tajik = 351

§

TamasheqLatin = 352

§

TamasheqTifinagh = 353

§

TamazightCentralAtlas = 354

§

Tamil = 355

§

TamilGrantha = 356

§

Tangsa = 357

§

Tangut = 358

§

Tatar = 359

§

TatarCrimean = 360

§

Tedim = 361

§

Telugu = 362

§

Thai = 363

§

Tibetan = 364

§

TibetanPhagsPa = 365

§

TibetanSoyombo = 366

§

TibetanZanabazarSquare = 367

§

Tigrinya = 368

§

TobaBatak = 369

§

TokPisin = 370

§

Toto = 371

§

Tsonga = 372

§

Tswana = 373

§

Tulu = 374

§

TuluTigalari = 375

§

Tumbuka = 376

§

Turkish = 377

§

Turkmen = 378

§

Twi = 379

§

Ugaritic = 380

§

Ukrainian = 381

§

Umbrian = 382

§

Umbundu = 383

§

Urdu = 384

§

Uyghur = 385

§

UzbekNorthern = 386

§

Vai = 387

§

Venetian = 388

§

Vietnamese = 389

§

Wancho = 390

§

WanchoWancho = 391

§

Waray = 392

§

Welsh = 393

§

Wolof = 394

§

WolofGaray = 395

§

Xhosa = 396

§

YiddishEastern = 397

§

Yoruba = 398

§

Zhangzhung = 399

§

Zulu = 400

Implementations§

Source§

impl ScriptLanguage

Source

pub const fn into_parts(self) -> (Language, Script)

Source

pub const fn into_str(self) -> &'static str

Source

pub const fn into_code(self) -> u32

30-bit code

Source

pub const fn from_code(v: u32) -> Option<ScriptLanguage>

30-bit code

Source

pub const fn from_parts(v: (Language, Script)) -> Option<ScriptLanguage>

Source

pub const fn from_bytes(v: &[u8]) -> Option<ScriptLanguage>

Source

pub const fn from_str(s: &str) -> Option<ScriptLanguage>

Source§

impl ScriptLanguage

Source

pub fn all() -> impl Iterator<Item = ScriptLanguage>

Returns an iterator of all ScriptLanguages

Source

pub fn all_with_script(script: UcdScript) -> &'static [ScriptLanguage]

Returns all ScriptLanguages supporting selected UcdScript

Source

pub fn transmute_from_usize(v: usize) -> ScriptLanguage

Trait Implementations§

Source§

impl Clone for ScriptLanguage

Source§

fn clone(&self) -> ScriptLanguage

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 Debug for ScriptLanguage

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ScriptLanguage

Source§

fn deserialize<D>( deserializer: D, ) -> Result<ScriptLanguage, <D as Deserializer<'de>>::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl EnumCount for ScriptLanguage

Source§

const COUNT: usize = 401usize

Source§

impl Hash for ScriptLanguage

Source§

fn hash<__H>(&self, state: &mut __H)
where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl IntoEnumIterator for ScriptLanguage

Source§

impl Ord for ScriptLanguage

Source§

fn cmp(&self, other: &ScriptLanguage) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for ScriptLanguage

Source§

fn eq(&self, other: &ScriptLanguage) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for ScriptLanguage

Source§

fn partial_cmp(&self, other: &ScriptLanguage) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Serialize for ScriptLanguage

Source§

fn serialize<S>( &self, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<i128> for ScriptLanguage

Source§

type Error = &'static str

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

fn try_from( v: i128, ) -> Result<ScriptLanguage, <ScriptLanguage as TryFrom<i128>>::Error>

Performs the conversion.
Source§

impl TryFrom<i32> for ScriptLanguage

Source§

type Error = &'static str

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

fn try_from( v: i32, ) -> Result<ScriptLanguage, <ScriptLanguage as TryFrom<i32>>::Error>

Performs the conversion.
Source§

impl TryFrom<i64> for ScriptLanguage

Source§

type Error = &'static str

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

fn try_from( v: i64, ) -> Result<ScriptLanguage, <ScriptLanguage as TryFrom<i64>>::Error>

Performs the conversion.
Source§

impl TryFrom<isize> for ScriptLanguage

Source§

type Error = &'static str

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

fn try_from( v: isize, ) -> Result<ScriptLanguage, <ScriptLanguage as TryFrom<isize>>::Error>

Performs the conversion.
Source§

impl TryFrom<u128> for ScriptLanguage

Source§

type Error = &'static str

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

fn try_from( v: u128, ) -> Result<ScriptLanguage, <ScriptLanguage as TryFrom<u128>>::Error>

Performs the conversion.
Source§

impl TryFrom<u32> for ScriptLanguage

Source§

type Error = &'static str

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

fn try_from( v: u32, ) -> Result<ScriptLanguage, <ScriptLanguage as TryFrom<u32>>::Error>

Performs the conversion.
Source§

impl TryFrom<u64> for ScriptLanguage

Source§

type Error = &'static str

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

fn try_from( v: u64, ) -> Result<ScriptLanguage, <ScriptLanguage as TryFrom<u64>>::Error>

Performs the conversion.
Source§

impl TryFrom<usize> for ScriptLanguage

Source§

type Error = &'static str

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

fn try_from( v: usize, ) -> Result<ScriptLanguage, <ScriptLanguage as TryFrom<usize>>::Error>

Performs the conversion.
Source§

impl Copy for ScriptLanguage

Source§

impl Eq for ScriptLanguage

Source§

impl StructuralPartialEq for ScriptLanguage

Auto Trait Implementations§

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

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