Enum pango::Script [−][src]
#[non_exhaustive] pub enum Script {}Show variants
InvalidCode, Common, Inherited, Arabic, Armenian, Bengali, Bopomofo, Cherokee, Coptic, Cyrillic, Deseret, Devanagari, Ethiopic, Georgian, Gothic, Greek, Gujarati, Gurmukhi, Han, Hangul, Hebrew, Hiragana, Kannada, Katakana, Khmer, Lao, Latin, Malayalam, Mongolian, Myanmar, Ogham, OldItalic, Oriya, Runic, Sinhala, Syriac, Tamil, Telugu, Thaana, Thai, Tibetan, CanadianAboriginal, Yi, Tagalog, Hanunoo, Buhid, Tagbanwa, Braille, Cypriot, Limbu, Osmanya, Shavian, LinearB, TaiLe, Ugaritic, NewTaiLue, Buginese, Glagolitic, Tifinagh, SylotiNagri, OldPersian, Kharoshthi, Unknown, Balinese, Cuneiform, Phoenician, PhagsPa, Nko, KayahLi, Lepcha, Rejang, Sundanese, Saurashtra, Cham, OlChiki, Vai, Carian, Lycian, Lydian, 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, // some variants omitted
Expand description
The Script
enumeration identifies different writing
systems. The values correspond to the names as defined in the
Unicode standard. See 24
: Script names</ulink>
.
Note that this enumeration is deprecated and will not be updated to include values in newer versions of the Unicode standard. Applications should use the GUnicodeScript enumeration instead, whose values are interchangeable with PangoScript.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
a value never returned from for_unichar()
a character used by multiple different scripts
a mark glyph that takes its script from the base glyph to which it is attached
Arabic
Armenian
Bengali
Bopomofo
Cherokee
Coptic
Cyrillic
Deseret
Devanagari
Ethiopic
Georgian
Gothic
Greek
Gujarati
Gurmukhi
Han
Hangul
Hebrew
Hiragana
Kannada
Katakana
Khmer
Lao
Latin
Malayalam
Mongolian
Myanmar
Ogham
Old Italic
Oriya
Runic
Sinhala
Syriac
Tamil
Telugu
Thaana
Thai
Tibetan
Canadian Aboriginal
Yi
Tagalog
Hanunoo
Buhid
Tagbanwa
Braille
Cypriot
Limbu
Osmanya
Shavian
Linear B
Tai Le
Ugaritic
New Tai Lue. Since 1.10
Buginese. Since 1.10
Glagolitic. Since 1.10
Tifinagh. Since 1.10
Syloti Nagri. Since 1.10
Old Persian. Since 1.10
Kharoshthi. Since 1.10
an unassigned code point. Since 1.14
Balinese. Since 1.14
Cuneiform. Since 1.14
Phoenician. Since 1.14
Phags-pa. Since 1.14
N’Ko. Since 1.14
Kayah Li. Since 1.20.1
Lepcha. Since 1.20.1
Rejang. Since 1.20.1
Sundanese. Since 1.20.1
Saurashtra. Since 1.20.1
Cham. Since 1.20.1
Ol Chiki. Since 1.20.1
Vai. Since 1.20.1
Carian. Since 1.20.1
Lycian. Since 1.20.1
Lydian. Since 1.20.1
Batak. Since 1.32
Brahmi. Since 1.32
Mandaic. Since 1.32
Chakma. Since: 1.32
Meroitic Cursive. Since: 1.32
Meroitic Hieroglyphs. Since: 1.32
Miao. Since: 1.32
Sharada. Since: 1.32
Sora Sompeng. Since: 1.32
Takri. Since: 1.32
Bassa. Since: 1.40
Caucasian Albanian. Since: 1.40
Duployan. Since: 1.40
Elbasan. Since: 1.40
Grantha. Since: 1.40
Kjohki. Since: 1.40
Khudawadi, Sindhi. Since: 1.40
Linear A. Since: 1.40
Mahajani. Since: 1.40
Manichaean. Since: 1.40
Mende Kikakui. Since: 1.40
Modi. Since: 1.40
Mro. Since: 1.40
Nabataean. Since: 1.40
Old North Arabian. Since: 1.40
Old Permic. Since: 1.40
Pahawh Hmong. Since: 1.40
Palmyrene. Since: 1.40
Pau Cin Hau. Since: 1.40
Psalter Pahlavi. Since: 1.40
Siddham. Since: 1.40
Tirhuta. Since: 1.40
Warang Citi. Since: 1.40
Ahom. Since: 1.40
Anatolian Hieroglyphs. Since: 1.40
Hatran. Since: 1.40
Multani. Since: 1.40
Old Hungarian. Since: 1.40
Signwriting. Since: 1.40
Implementations
Trait Implementations
type Checker = GenericValueTypeChecker<Self>
type Checker = GenericValueTypeChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Returns the type identifier of Self
.
Auto Trait Implementations
impl RefUnwindSafe for Script
impl UnwindSafe for Script
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.