Enum lingua::IsoCode639_3

source ·
pub enum IsoCode639_3 {
Show 75 variants AFR, ARA, AZE, BEL, BEN, BOS, BUL, CAT, CES, CYM, DAN, DEU, ELL, ENG, EPO, EST, EUS, FAS, FIN, FRA, GLE, GUJ, HEB, HIN, HRV, HUN, HYE, IND, ISL, ITA, JPN, KAT, KAZ, KOR, LAT, LAV, LIT, LUG, MAR, MKD, MON, MRI, MSA, NLD, NNO, NOB, PAN, POL, POR, RON, RUS, SLK, SLV, SNA, SOM, SOT, SPA, SQI, SRP, SWA, SWE, TAM, TEL, TGL, THA, TSN, TSO, TUR, UKR, URD, VIE, XHO, YOR, ZHO, ZUL,
}
Expand description

This enum specifies the ISO 639-3 code representations for the supported languages.

ISO 639 is a standardized nomenclature used to classify languages.

Variants§

§

AFR

The ISO 639-3 code for Afrikaans

§

ARA

The ISO 639-3 code for Arabic

§

AZE

The ISO 639-3 code for Azerbaijani

§

BEL

The ISO 639-3 code for Belarusian

§

BEN

The ISO 639-3 code for Bengali

§

BOS

The ISO 639-3 code for Bosnian

§

BUL

The ISO 639-3 code for Bulgarian

§

CAT

The ISO 639-3 code for Catalan

§

CES

The ISO 639-3 code for Czech

§

CYM

The ISO 639-3 code for Welsh

§

DAN

The ISO 639-3 code for Danish

§

DEU

The ISO 639-3 code for German

§

ELL

The ISO 639-3 code for Greek

§

ENG

The ISO 639-3 code for English

§

EPO

The ISO 639-3 code for Esperanto

§

EST

The ISO 639-3 code for Estonian

§

EUS

The ISO 639-3 code for Basque

§

FAS

The ISO 639-3 code for Persian

§

FIN

The ISO 639-3 code for Finnish

§

FRA

The ISO 639-3 code for French

§

GLE

The ISO 639-3 code for Irish

§

GUJ

The ISO 639-3 code for Gujarati

§

HEB

The ISO 639-3 code for Hebrew

§

HIN

The ISO 639-3 code for Hindi

§

HRV

The ISO 639-3 code for Croatian

§

HUN

The ISO 639-3 code for Hungarian

§

HYE

The ISO 639-3 code for Armenian

§

IND

The ISO 639-3 code for Indonesian

§

ISL

The ISO 639-3 code for Icelandic

§

ITA

The ISO 639-3 code for Italian

§

JPN

The ISO 639-3 code for Japanese

§

KAT

The ISO 639-3 code for Georgian

§

KAZ

The ISO 639-3 code for Kazakh

§

KOR

The ISO 639-3 code for Korean

§

LAT

The ISO 639-3 code for Latin

§

LAV

The ISO 639-3 code for Latvian

§

LIT

The ISO 639-3 code for Lithuanian

§

LUG

The ISO 639-3 code for Ganda

§

MAR

The ISO 639-3 code for Marathi

§

MKD

The ISO 639-3 code for Macedonian

§

MON

The ISO 639-3 code for Mongolian

§

MRI

The ISO 639-3 code for Maori

§

MSA

The ISO 639-3 code for Malay

§

NLD

The ISO 639-3 code for Dutch

§

NNO

The ISO 639-3 code for Norwegian Nynorsk

§

NOB

The ISO 639-3 code for Norwegian Bokmal

§

PAN

The ISO 639-3 code for Punjabi

§

POL

The ISO 639-3 code for Polish

§

POR

The ISO 639-3 code for Portuguese

§

RON

The ISO 639-3 code for Romanian

§

RUS

The ISO 639-3 code for Russian

§

SLK

The ISO 639-3 code for Slovak

§

SLV

The ISO 639-3 code for Slovene

§

SNA

The ISO 639-3 code for Shona

§

SOM

The ISO 639-3 code for Somali

§

SOT

The ISO 639-3 code for Sotho

§

SPA

The ISO 639-3 code for Spanish

§

SQI

The ISO 639-3 code for Albanian

§

SRP

The ISO 639-3 code for Serbian

§

SWA

The ISO 639-3 code for Swahili

§

SWE

The ISO 639-3 code for Swedish

§

TAM

The ISO 639-3 code for Tamil

§

TEL

The ISO 639-3 code for Telugu

§

TGL

The ISO 639-3 code for Tagalog

§

THA

The ISO 639-3 code for Thai

§

TSN

The ISO 639-3 code for Tswana

§

TSO

The ISO 639-3 code for Tsonga

§

TUR

The ISO 639-3 code for Turkish

§

UKR

The ISO 639-3 code for Ukrainian

§

URD

The ISO 639-3 code for Urdu

§

VIE

The ISO 639-3 code for Vietnamese

§

XHO

The ISO 639-3 code for Xhosa

§

YOR

The ISO 639-3 code for Yoruba

§

ZHO

The ISO 639-3 code for Chinese

§

ZUL

The ISO 639-3 code for Zulu

Trait Implementations§

source§

impl Clone for IsoCode639_3

source§

fn clone(&self) -> IsoCode639_3

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for IsoCode639_3

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for IsoCode639_3

source§

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 Display for IsoCode639_3

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromStr for IsoCode639_3

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<IsoCode639_3, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl Hash for IsoCode639_3

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl IntoEnumIterator for IsoCode639_3

§

type Iterator = IsoCode639_3Iter

source§

fn iter() -> IsoCode639_3Iter

source§

impl Ord for IsoCode639_3

source§

fn cmp(&self, other: &IsoCode639_3) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized + PartialOrd,

Restrict a value to a certain interval. Read more
source§

impl PartialEq for IsoCode639_3

source§

fn eq(&self, other: &IsoCode639_3) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd for IsoCode639_3

source§

fn partial_cmp(&self, other: &IsoCode639_3) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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 more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serialize for IsoCode639_3

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl TryFrom<&str> for IsoCode639_3

§

type Error = ParseError

The type returned in the event of a conversion error.
source§

fn try_from(s: &str) -> Result<IsoCode639_3, <Self as TryFrom<&str>>::Error>

Performs the conversion.
source§

impl Copy for IsoCode639_3

source§

impl Eq for IsoCode639_3

source§

impl StructuralEq for IsoCode639_3

source§

impl StructuralPartialEq for IsoCode639_3

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToCompactString for T
where T: Display,

source§

fn to_compact_string(&self) -> CompactString

Converts the given value to a CompactString. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,