Enum stop_words::LANGUAGE

source ·
#[non_exhaustive]
pub enum LANGUAGE {
Show 58 variants Arabic, Danish, Dutch, English, Finnish, French, German, Greek, Hungarian, Indonesian, Italian, Norwegian, Portuguese, Romanian, Russian, Slovenian, Spanish, Swedish, Turkish, Afrikaans, Armenian, Basque, Bengali, Breton, Bulgarian, Catalan, Czech, Chinese, Esperanto, Estonian, Persian, Irish, Galician, Gujarati, Hausa, Hebrew, Hindi, Croatian, Japanese, Korean, Kurdish, Latin, Latvian, Lithuanian, Marathi, Malay, Polish, Slovak, Somali, Sotho, Swahili, Tagalog, Thai, Ukrainian, Urdu, Vietnamese, Yoruba, Zulu,
}
Expand description

Enum containing available language names

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.
§

Arabic

Arabic (ISO 639-1 Code: ar)

§

Danish

Danish (ISO 639-1 Code: da)

§

Dutch

Dutch (ISO 639-1 Code: nl)

§

English

English (ISO 639-1 Code: en)

§

Finnish

Finnish (ISO 639-1 Code: fi)

§

French

French (ISO 639-1 Code: fr)

§

German

German (ISO 639-1 Code: de)

§

Greek

Greek (ISO 639-1 Code: el)

§

Hungarian

Hungarian (ISO 639-1 Code: hu)

§

Indonesian

Indonesian (ISO 639-1 Code: id)

§

Italian

Italian (ISO 639-1 Code: it)

§

Norwegian

Norwegian (ISO 639-1 Code: no)

§

Portuguese

Portuguese (ISO 639-1 Code: pt)

§

Romanian

Romanian (ISO 639-1 Code: ro)

§

Russian

Russian (ISO 639-1 Code: ru)

§

Slovenian

Slovenian (ISO 639-1 Code: sl)

§

Spanish

Spanish (ISO 639-1 Code: sp)

§

Swedish

Swedish (ISO 639-1 Code: sv)

§

Turkish

Turkish (ISO 639-1 Code: tk)

§

Afrikaans

Afrikaans (ISO 639-1 Code: af)

§

Armenian

Armenian (ISO 639-1 Code: hy)

§

Basque

Basque (ISO 639-1 Code: eu)

§

Bengali

Bengali (ISO 639-1 Code: bn)

§

Breton

Breton (ISO 639-1 Code: br)

§

Bulgarian

Bulgarian (ISO 639-1 Code: bg)

§

Catalan

Catalan (ISO 639-1 Code: ca)

§

Czech

Czech (ISO 639-1 Code: cs)

§

Chinese

Chinese (ISO 639-1 Code: zh)

§

Esperanto

Esperanto (ISO 639-1 Code: eo)

§

Estonian

Estonian (ISO 639-1 Code: eo)

§

Persian

Persian (ISO 639-1 Code: fa)

§

Irish

Irish (ISO 639-1 Code: ga)

§

Galician

Galician (ISO 639-1 Code: gl)

§

Gujarati

Gujarati (ISO 639-1 Code: gu)

§

Hausa

Hausa (ISO 639-1 Code: ha)

§

Hebrew

Hebrew (ISO 639-1 Code: he)

§

Hindi

Hindi (ISO 639-1 Code: hi)

§

Croatian

Croatian (ISO 639-1 Code: hr)

§

Japanese

Japanese (ISO 639-1 Code: ha)

§

Korean

Korean (ISO 639-1 Code: ko)

§

Kurdish

Kurdish (ISO 639-1 Code: ku)

§

Latin

Latin (ISO 639-1 Code: la)

§

Latvian

Latvian (ISO 639-1 Code: lv)

§

Lithuanian

Lithuanian (ISO 639-1 Code: lt)

§

Marathi

Marathi (ISO 639-1 Code: mr)

§

Malay

Malay (ISO 639-1 Code: ms)

§

Polish

Polish (ISO 639-1 Code: pl)

§

Slovak

Slovak (ISO 639-1 Code: sk)

§

Somali

Somali (ISO 639-1 Code: so)

§

Sotho

Sotho (ISO 639-1 Code: st)

§

Swahili

Swahili (ISO 639-1 Code: sw)

§

Tagalog

Taglog (ISO 639-1 Code: tl)

§

Thai

Thai (ISO 639-1 Code: th)

§

Ukrainian

Ukrainian (ISO 639-1 Code: uk)

§

Urdu

Urdu (ISO 639-1 Code: ur)

§

Vietnamese

Vietnamese (ISO 639-1 Code: vi)

§

Yoruba

Yoruba (ISO 639-1 Code: yo)

§

Zulu

Zulu (ISO 639-1 Code: zu)

Trait Implementations§

source§

impl Clone for LANGUAGE

source§

fn clone(&self) -> LANGUAGE

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 LANGUAGE

source§

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

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

impl Display for LANGUAGE

source§

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

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

impl From<LANGUAGE> for String

source§

fn from(value: LANGUAGE) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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.

source§

impl<T> ToOwned for Twhere 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 Twhere 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 Twhere 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 Twhere 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.