#[non_exhaustive]pub enum LangCode {
Show 185 variants
Und,
Aar,
Abk,
Afr,
Aka,
Alb,
Amh,
Ara,
Arg,
Arm,
Asm,
Ava,
Ave,
Aym,
Aze,
Bak,
Bam,
Baq,
Bel,
Ben,
Bis,
Bos,
Bre,
Bul,
Bur,
Cat,
Cha,
Che,
Chi,
Chu,
Chv,
Cor,
Cos,
Cre,
Cze,
Dan,
Div,
Dut,
Dzo,
Eng,
Epo,
Est,
Ewe,
Fao,
Fij,
Fin,
Fre,
Fry,
Ful,
Geo,
Ger,
Gla,
Gle,
Glg,
Glv,
Gre,
Grn,
Guj,
Hat,
Hau,
Hbs,
Heb,
Her,
Hin,
Hmo,
Hrv,
Hun,
Ibo,
Ice,
Ido,
Iii,
Iku,
Ile,
Ina,
Ind,
Ipk,
Ita,
Jav,
Jpn,
Kal,
Kan,
Kas,
Kau,
Kaz,
Khm,
Kik,
Kin,
Kir,
Kom,
Kon,
Kor,
Kua,
Kur,
Lao,
Lat,
Lav,
Lim,
Lin,
Lit,
Ltz,
Lub,
Lug,
Mac,
Mah,
Mal,
Mao,
Mar,
May,
Mlg,
Mlt,
Mon,
Nau,
Nav,
Nbl,
Nde,
Ndo,
Nep,
Nno,
Nob,
Nor,
Nya,
Oci,
Oji,
Ori,
Orm,
Oss,
Pan,
Per,
Pli,
Pol,
Por,
Pus,
Que,
Roh,
Rum,
Run,
Rus,
Sag,
San,
Sin,
Slo,
Slv,
Sme,
Smo,
Sna,
Snd,
Som,
Sot,
Spa,
Srd,
Srp,
Ssw,
Sun,
Swa,
Swe,
Tah,
Tam,
Tat,
Tel,
Tgk,
Tgl,
Tha,
Tib,
Tir,
Ton,
Tsn,
Tso,
Tuk,
Tur,
Twi,
Uig,
Ukr,
Urd,
Uzb,
Ven,
Vie,
Vol,
Wel,
Wln,
Wol,
Xho,
Yid,
Yor,
Zha,
Zul,
}Expand description
A language code of ISO 639-1 in ISO 639-3 representation or undeterminated code (Und).
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.
Und
Aar
Abk
Afr
Aka
Alb
Amh
Ara
Arg
Arm
Asm
Ava
Ave
Aym
Aze
Bak
Bam
Baq
Bel
Ben
Bis
Bos
Bre
Bul
Bur
Cat
Cha
Che
Chi
Chu
Chv
Cor
Cos
Cre
Cze
Dan
Div
Dut
Dzo
Eng
Epo
Est
Ewe
Fao
Fij
Fin
Fre
Fry
Ful
Geo
Ger
Gla
Gle
Glg
Glv
Gre
Grn
Guj
Hat
Hau
Hbs
Heb
Her
Hin
Hmo
Hrv
Hun
Ibo
Ice
Ido
Iii
Iku
Ile
Ina
Ind
Ipk
Ita
Jav
Jpn
Kal
Kan
Kas
Kau
Kaz
Khm
Kik
Kin
Kir
Kom
Kon
Kor
Kua
Kur
Lao
Lat
Lav
Lim
Lin
Lit
Ltz
Lub
Lug
Mac
Mah
Mal
Mao
Mar
May
Mlg
Mlt
Mon
Nau
Nbl
Nde
Ndo
Nep
Nno
Nob
Nor
Nya
Oci
Oji
Ori
Orm
Oss
Pan
Per
Pli
Pol
Por
Pus
Que
Roh
Rum
Run
Rus
Sag
San
Sin
Slo
Slv
Sme
Smo
Sna
Snd
Som
Sot
Spa
Srd
Srp
Ssw
Sun
Swa
Swe
Tah
Tam
Tat
Tel
Tgk
Tgl
Tha
Tib
Tir
Ton
Tsn
Tso
Tuk
Tur
Twi
Uig
Ukr
Urd
Uzb
Ven
Vie
Vol
Wel
Wln
Wol
Xho
Yid
Yor
Zha
Zul
Trait Implementations§
impl Copy for LangCode
impl Eq for LangCode
impl StructuralPartialEq for LangCode
Auto Trait Implementations§
impl Freeze for LangCode
impl RefUnwindSafe for LangCode
impl Send for LangCode
impl Sync for LangCode
impl Unpin for LangCode
impl UnwindSafe for LangCode
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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