#[non_exhaustive]pub enum Language {
Show 325 variants
Acehnese,
Afrikaans,
Ahom,
Akan,
Akkadian,
Albanian,
AlbanianTosk,
Amharic,
AncientGreek,
AncientNorthArabian,
AncientSouthArabian,
Angkola,
Arabic,
ArabicEgyptian,
ArabicMesopotamian,
ArabicMoroccan,
ArabicNajdi,
ArabicNorthLevantine,
ArabicSouthernYemeni,
ArabicSouthLevantine,
ArabicSudanese,
ArabicTunisian,
AramaicElymaic,
AramaicHatran,
AramaicImperial,
AramaicMandaic,
AramaicNabataean,
AramaicPalmyrene,
AramaicSamaritan,
AramaicSyriac,
Armenian,
Assamese,
Asturian,
Avestan,
Awadhi,
AymaraCentral,
AzerbaijaniNorth,
AzerbaijaniSouth,
Balinese,
Bambara,
Bamum,
Banjar,
Bantawa,
Bashkir,
Basque,
Bassa,
Belarusian,
Bemba,
Bengali,
Bhojpuri,
Bhumij,
BishnupriyaManipuri,
Bosnian,
Braille,
Buginese,
Buhid,
Bulgarian,
Burmese,
Carian,
Catalan,
CaucasianAlbanian,
Cebuano,
Chakma,
ChamEastern,
ChamWestern,
Cherokee,
Chhattisgarhi,
ChineseCantonese,
ChineseMandarin,
ChineseTuhua,
Chokwe,
Chorasmian,
ChurchSlavonic,
Chuvash,
Coptic,
Cree,
CreoleHaitian,
Croatian,
Czech,
Danish,
Dhivehi,
Dholuo,
DinkaSouthwestern,
Dogri,
Dutch,
Dyula,
Dzongkha,
EgyptianHieroglyphs,
English,
Esperanto,
Estonian,
Etruscan,
Ewe,
Faroese,
Fijian,
Filipino,
Finnish,
Fon,
French,
Friulian,
Fulani,
FulfuldeNigerian,
GaelicScottish,
Galician,
Ganda,
Gandhari,
Geez,
Georgian,
German,
Gondi,
Gothic,
Greek,
Guarani,
Gujarati,
Gurung,
Hanunoo,
Hausa,
Hawaiian,
Hebrew,
HebrewSamaritan,
Hindi,
Hittite,
Hmong,
Ho,
Hungarian,
Icelandic,
Igbo,
Ilocano,
Indonesian,
Inuktitut,
Irish,
Italian,
Japanese,
Javanese,
Jingpho,
Kabiye,
Kabuverdianu,
Kabyle,
Kamba,
Kannada,
KanuriCentral,
Karo,
Kashmiri,
KayahEastern,
KayahWestern,
Kazakh,
Khitan,
Khmer,
KikongoKituba,
Kikuyu,
Kimbundu,
Kinyarwanda,
Komi,
Korean,
KurdishCentral,
KurdishNorthern,
KurdishSouthern,
Kutchi,
Kyrgyz,
Lao,
Latgalian,
Latin,
Latvian,
Lepcha,
Ligurian,
Limbu,
Limburgish,
Lingala,
Lisu,
Lithuanian,
Loloish,
Lombard,
LubaKasai,
LuwianCuneiform,
LuwianHieroglyphic,
Luxembourgish,
Lycian,
Lydian,
Macedonian,
Magahi,
Maithili,
Makassarese,
Malay,
Malayalam,
MalgasyPlateau,
Maltese,
Mandailing,
Manding,
Maori,
Marathi,
Marwari,
Medefaidrin,
Meitei,
Mende,
Meroitic,
MiddlePersianManichaean,
MiddlePersianPahlavi,
Minangkabau,
Minoan,
MinoanLinearA,
Mizo,
MongolianHalh,
Mossi,
Mro,
Mundari,
MycenaeanGreek,
Nepali,
Newar,
NigerianPidgin,
NorthernThai,
NorwegianBokmal,
NorwegianNynorsk,
Nuer,
Nyanja,
Occitan,
Odia,
Ojibwe,
OldEnglish,
OldIrish,
OldJavanese,
OldNorse,
OldPersian,
OldTurkic,
OldUyghur,
OromoSouthern,
OromoWestCentral,
Osage,
Oscan,
Pakpak,
Pangasinan,
Papiamento,
Parthian,
PashtoSouthern,
PersianDari,
PersianWestern,
Phoenician,
Polish,
Portuguese,
Prakrit,
Pular,
PunjabiEastern,
QuechuaAyacucho,
Rejang,
Rohingya,
Romanian,
Rundi,
Russian,
Samoan,
Sango,
Sanskrit,
Santali,
Saraiki,
Sardinian,
Saurashtra,
Sepedi,
Serbian,
Sesotho,
Shan,
Shona,
Sicilian,
SignLanguages,
Silesian,
Simalungun,
Sindhi,
Sinhala,
Slovak,
Slovene,
Sogdian,
Somali,
Sora,
Spanish,
Sumerian,
Sundanese,
Sunuwar,
Swahili,
Swati,
Swedish,
Sylheti,
Tagbanwa,
TaiDam,
TaiDon,
TaiLue,
TaiNuea,
Tajik,
Tamasheq,
TamazightCentralAtlas,
Tamil,
Tangsa,
Tangut,
Tatar,
TatarCrimean,
Tedim,
Telugu,
Thai,
Tibetan,
Tigrinya,
TobaBatak,
TokPisin,
Toto,
Tsonga,
Tswana,
Tulu,
Tumbuka,
Turkish,
Turkmen,
Twi,
Ugaritic,
Ukrainian,
Umbrian,
Umbundu,
Urdu,
Uyghur,
UzbekNorthern,
Vai,
Venetian,
Vietnamese,
Wancho,
Waray,
Welsh,
Wolof,
Xhosa,
YiddishEastern,
Yoruba,
Zhangzhung,
Zulu,
}
Expand description
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
Afrikaans
Ahom
Akan
Akkadian
Albanian
Macro
AlbanianTosk
Amharic
AncientGreek
AncientNorthArabian
Group
AncientSouthArabian
Group
Angkola
Arabic
ArabicEgyptian
ArabicMesopotamian
ArabicMoroccan
ArabicNajdi
ArabicNorthLevantine
ArabicSouthernYemeni
ArabicSouthLevantine
ArabicSudanese
ArabicTunisian
AramaicElymaic
AramaicHatran
AramaicImperial
AramaicMandaic
AramaicNabataean
AramaicPalmyrene
AramaicSamaritan
AramaicSyriac
Armenian
Assamese
Asturian
Avestan
Awadhi
AymaraCentral
AzerbaijaniNorth
Latin
AzerbaijaniSouth
Arabic
Balinese
Bambara
Bamum
Banjar
Bantawa
Bashkir
Basque
Bassa
Belarusian
Bemba
Bengali
Bhojpuri
Bhumij
BishnupriyaManipuri
Bosnian
Braille
Group, any language adapted to Braille
Buginese
Buhid
Bulgarian
Burmese
Carian
Catalan
CaucasianAlbanian
Cebuano
Chakma
ChamEastern
ChamWestern
Cherokee
Chhattisgarhi
ChineseCantonese
ChineseMandarin
ChineseTuhua
Chokwe
Chorasmian
ChurchSlavonic
Chuvash
Coptic
Cree
CreoleHaitian
Croatian
Czech
Danish
Dhivehi
Dholuo
DinkaSouthwestern
Dogri
Dutch
Dyula
Dzongkha
EgyptianHieroglyphs
English
Esperanto
Estonian
Etruscan
Ewe
Faroese
Fijian
Filipino
Finnish
Fon
French
Friulian
Fulani
Macro
FulfuldeNigerian
GaelicScottish
Galician
Ganda
Gandhari
Geez
Georgian
German
Gondi
Macro
Gothic
Greek
Guarani
Gujarati
Gurung
Hanunoo
Hausa
Hawaiian
Hebrew
HebrewSamaritan
Hindi
Hittite
Hmong
Macro
Ho
Hungarian
Icelandic
Igbo
Ilocano
Indonesian
Inuktitut
Macro
Irish
Italian
Japanese
Javanese
Jingpho
Kabiye
Kabuverdianu
Kabyle
Kamba
Kannada
KanuriCentral
Karo
Kashmiri
KayahEastern
KayahWestern
Kazakh
Khitan
Khmer
KikongoKituba
Kikuyu
Kimbundu
Kinyarwanda
Komi
Korean
KurdishCentral
KurdishNorthern
KurdishSouthern
Kutchi
Kyrgyz
Lao
Latgalian
Latin
Latvian
Lepcha
Ligurian
Limbu
Limburgish
Lingala
Lisu
Lithuanian
Loloish
Group
Lombard
LubaKasai
LuwianCuneiform
LuwianHieroglyphic
Luxembourgish
Lycian
Lydian
Macedonian
Magahi
Maithili
Makassarese
Malay
Malayalam
MalgasyPlateau
Maltese
Mandailing
Manding
Macro
Maori
Marathi
Marwari
Macro
Medefaidrin
Meitei
Mende
Meroitic
MiddlePersianManichaean
MiddlePersianPahlavi
Minangkabau
Minoan
MinoanLinearA
Mizo
MongolianHalh
Mossi
Mro
Mundari
MycenaeanGreek
Nepali
Newar
NigerianPidgin
NorthernThai
NorwegianBokmal
NorwegianNynorsk
Nuer
Nyanja
Occitan
Odia
Ojibwe
Macro
OldEnglish
OldIrish
OldJavanese
OldNorse
OldPersian
OldTurkic
OldUyghur
OromoSouthern
OromoWestCentral
Osage
Oscan
Pakpak
Pangasinan
Papiamento
Parthian
PashtoSouthern
PersianDari
Afghani
PersianWestern
Iranian
Phoenician
Polish
Portuguese
Prakrit
Group
Pular
PunjabiEastern
QuechuaAyacucho
Rejang
Rohingya
Romanian
Rundi
Russian
Samoan
Sango
Sanskrit
Santali
Saraiki
Sardinian
Saurashtra
Sepedi
Serbian
Sesotho
Shan
Shona
Sicilian
SignLanguages
Group
Silesian
Simalungun
Sindhi
Sinhala
Slovak
Slovene
Sogdian
Somali
Sora
Spanish
Sumerian
Sundanese
Sunuwar
Swahili
Swati
Swedish
Sylheti
Tagbanwa
TaiDam
TaiDon
TaiLue
TaiNuea
Tajik
Tamasheq
TamazightCentralAtlas
Tamil
Tangsa
Macro
Tangut
Tatar
TatarCrimean
Tedim
Telugu
Thai
Tibetan
Tigrinya
TobaBatak
TokPisin
Toto
Tsonga
Tswana
Tulu
Tumbuka
Turkish
Turkmen
Twi
Ugaritic
Ukrainian
Umbrian
Umbundu
Urdu
Uyghur
UzbekNorthern
Vai
Venetian
Vietnamese
Wancho
Waray
Welsh
Wolof
Xhosa
YiddishEastern
Yoruba
Zhangzhung
Zulu
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Language
impl<'de> Deserialize<'de> for Language
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Language> for &'static [ScriptLanguage]
impl From<Language> for &'static [ScriptLanguage]
Source§impl From<ScriptLanguage> for Language
impl From<ScriptLanguage> for Language
Source§fn from(sl: ScriptLanguage) -> Self
fn from(sl: ScriptLanguage) -> Self
Converts to this type from the input type.
Source§impl IntoEnumIterator for Language
impl IntoEnumIterator for Language
type Iterator = LanguageIter
fn iter() -> LanguageIter ⓘ
Source§impl<'py> IntoPyObject<'py> for Language
impl<'py> IntoPyObject<'py> for Language
Source§type Output = Bound<'py, <Language as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <Language as IntoPyObject<'py>>::Target>
The smart pointer type to use. Read more
Source§fn into_pyobject(
self,
py: Python<'py>,
) -> Result<<Self as IntoPyObject<'_>>::Output, <Self as IntoPyObject<'_>>::Error>
fn into_pyobject( self, py: Python<'py>, ) -> Result<<Self as IntoPyObject<'_>>::Output, <Self as IntoPyObject<'_>>::Error>
Performs the conversion.
Source§impl Ord for Language
impl Ord for Language
Source§impl PartialOrd for Language
impl PartialOrd for Language
Source§impl PyClassImpl for Language
impl PyClassImpl for Language
Source§const IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
Source§const IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]
Source§const IS_MAPPING: bool = false
const IS_MAPPING: bool = false
#[pyclass(mapping)]
Source§const IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
#[pyclass(sequence)]
Source§const IS_IMMUTABLE_TYPE: bool = false
const IS_IMMUTABLE_TYPE: bool = false
#[pyclass(immutable_type)]
Source§type ThreadChecker = SendablePyClass<Language>
type ThreadChecker = SendablePyClass<Language>
This handles following two situations: Read more
Source§type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::ImmutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::ImmutableChild
Immutable or mutable
Source§type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is
PyAny
by default, and when you declare
#[pyclass(extends=PyDict)]
, it’s PyDict
.fn items_iter() -> PyClassItemsIter
fn lazy_type_object() -> &'static LazyTypeObject<Self>
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
Source§impl PyTypeInfo for Language
impl PyTypeInfo for Language
Source§fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
Source§fn type_object(py: Python<'_>) -> Bound<'_, PyType>
fn type_object(py: Python<'_>) -> Bound<'_, PyType>
Returns the safe abstraction over the type object.
impl Copy for Language
impl Eq for Language
impl StructuralPartialEq for Language
Auto Trait Implementations§
impl Freeze for Language
impl RefUnwindSafe for Language
impl Send for Language
impl Sync for Language
impl Unpin for Language
impl UnwindSafe for Language
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromPyObject<'_> for T
impl<T> FromPyObject<'_> for T
Source§impl<'py, T> FromPyObjectBound<'_, 'py> for Twhere
T: FromPyObject<'py>,
impl<'py, T> FromPyObjectBound<'_, 'py> for Twhere
T: FromPyObject<'py>,
Source§impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
Converts
self
into an owned Python object, dropping type information.