Enum rich_sdl2_rust::ttf::script::Script
source · #[non_exhaustive]pub enum Script {
Show 157 variants
Common,
Inherited,
Unknown,
Arabic,
Armenian,
Bengali,
Cyrillic,
Devanagari,
Georgian,
Greek,
Gujarati,
Gurmukhi,
Hangul,
Han,
Hebrew,
Hiragana,
Kannada,
Katakana,
Lao,
Latin,
Malayalam,
Oriya,
Tamil,
Telugu,
Thai,
Tibetan,
Bopomofo,
Braille,
CanadianSyllabics,
Cherokee,
Ethiopic,
Khmer,
Mongolian,
Myanmar,
Ogham,
Runic,
Sinhala,
Syriac,
Thaana,
Yi,
Deseret,
Gothic,
OldItalic,
Buhid,
Hanunoo,
Tagalog,
Tagbanwa,
Cypriot,
Limbu,
LinearB,
Osmanya,
Shavian,
TaiLe,
Ugaritic,
Buginese,
Coptic,
Glagolitic,
Kharoshthi,
NewTaiLue,
OldPersian,
SylotiNagri,
Tifinagh,
Balinese,
Cuneiform,
Nko,
PhagsPa,
Phoenician,
Carian,
Cham,
KayahLi,
Lepcha,
Lycian,
Lydian,
OlChiki,
Rejang,
Saurashtra,
Sundanese,
Vai,
Avestan,
Bamum,
EgyptianHieroglyphs,
ImperialAramaic,
InscriptionalPahlavi,
InscriptionalParthian,
Javanese,
Kaithi,
Lisu,
MeeteiMayek,
OldSouthArabian,
OldTurkic,
Samaritan,
TaiTham,
TaiViet,
Batak,
Brahmi,
Mandaic,
Chakma,
MeroiticCursive,
MeroiticHieroglyphs,
Miao,
Sharada,
SoraSompeng,
Takri,
BassaVah,
CaucasianAlbanian,
Duployan,
Elbasan,
Grantha,
Khojki,
Khudawadi,
LinearA,
Mahajani,
Manichaean,
MendeKikakui,
Modi,
Mro,
Nabataean,
OldNorthArabian,
OldPermic,
PahawhHmong,
Palmyrene,
PauCinHau,
PsalterPahlavi,
Siddham,
Tirhuta,
WarangCiti,
Ahom,
AnatolianHieroglyphs,
Hatran,
Multani,
OldHungarian,
Signwriting,
Adlam,
Bhaiksuki,
Marchen,
Osage,
Tangut,
Newa,
MasaramGondi,
Nushu,
Soyombo,
ZanabazarSquare,
Dogra,
GunjalaGondi,
HanifiRohingya,
Makasar,
Medefaidrin,
OldSogdian,
Sogdian,
Elymaic,
Nandinagari,
NyiakengPuachueHmong,
Wancho,
Chorasmian,
DivesAkuru,
KhitanSmallScript,
Yezidi,
}
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.
Common
Inherited
Unknown
Arabic
Armenian
Bengali
Cyrillic
Devanagari
Georgian
Greek
Gujarati
Gurmukhi
Hangul
Han
Hebrew
Hiragana
Kannada
Katakana
Lao
Latin
Malayalam
Oriya
Tamil
Telugu
Thai
Tibetan
Bopomofo
Braille
CanadianSyllabics
Cherokee
Ethiopic
Khmer
Mongolian
Myanmar
Ogham
Runic
Sinhala
Syriac
Thaana
Yi
Deseret
Gothic
OldItalic
Buhid
Hanunoo
Tagalog
Tagbanwa
Cypriot
Limbu
LinearB
Osmanya
Shavian
TaiLe
Ugaritic
Buginese
Coptic
Glagolitic
Kharoshthi
NewTaiLue
OldPersian
SylotiNagri
Tifinagh
Balinese
Cuneiform
Nko
PhagsPa
Phoenician
Carian
Cham
KayahLi
Lepcha
Lycian
Lydian
OlChiki
Rejang
Saurashtra
Sundanese
Vai
Avestan
Bamum
EgyptianHieroglyphs
ImperialAramaic
InscriptionalPahlavi
InscriptionalParthian
Javanese
Kaithi
Lisu
MeeteiMayek
OldSouthArabian
OldTurkic
Samaritan
TaiTham
TaiViet
Batak
Brahmi
Mandaic
Chakma
MeroiticCursive
MeroiticHieroglyphs
Miao
Sharada
SoraSompeng
Takri
BassaVah
CaucasianAlbanian
Duployan
Elbasan
Grantha
Khojki
Khudawadi
LinearA
Mahajani
Manichaean
MendeKikakui
Modi
Mro
Nabataean
OldNorthArabian
OldPermic
PahawhHmong
Palmyrene
PauCinHau
PsalterPahlavi
Siddham
Tirhuta
WarangCiti
Ahom
AnatolianHieroglyphs
Hatran
Multani
OldHungarian
Signwriting
Adlam
Bhaiksuki
Marchen
Osage
Tangut
Newa
MasaramGondi
Nushu
Soyombo
ZanabazarSquare
Dogra
GunjalaGondi
HanifiRohingya
Makasar
Medefaidrin
OldSogdian
Sogdian
Elymaic
Nandinagari
NyiakengPuachueHmong
Wancho
Chorasmian
DivesAkuru
KhitanSmallScript
Yezidi
Implementations§
Trait Implementations§
source§impl PartialEq for Script
impl PartialEq for Script
impl Copy for Script
impl Eq for Script
impl StructuralPartialEq for Script
Auto Trait Implementations§
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