#[non_exhaustive]
pub enum Script {
Show 118 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,
}
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.
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
Implementations§
Trait Implementations§
source§impl<'a> FromValue<'a> for Script
impl<'a> FromValue<'a> for Script
§type Checker = GenericValueTypeChecker<Script>
type Checker = GenericValueTypeChecker<Script>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl Ord for Script
impl Ord for Script
source§impl PartialEq<Script> for Script
impl PartialEq<Script> for Script
source§impl PartialOrd<Script> for Script
impl PartialOrd<Script> for Script
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl StaticType for Script
impl StaticType for Script
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for Script
impl Eq for Script
impl StructuralEq 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> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToClosureReturnValue for Twhere
T: ToValue,
impl<T> ToClosureReturnValue for Twhere T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.