# google_speech::tts::Lang - Rust
API documentation for the Rust `Lang` enum in crate `google_speech`.
Keywords: rust, rustlang, rust-lang, Lang

# Enum google_speech::tts::Lang [−] [src]

    #[non_exhaustive]pub enum Lang {
        af,
        ar,
        bn,
        bs,
        ca,
        cs,
        cy,
        da,
        de,
        el,
        en,
        en_au,
        en_ca,
        en_gb,
        en_gh,
        en_ie,
        en_in,
        en_ng,
        en_nz,
        en_ph,
        en_tz,
        en_uk,
        en_us,
        en_za,
        eo,
        es,
        es_es,
        es_us,
        et,
        fi,
        fr,
        fr_ca,
        fr_fr,
        hi,
        hr,
        hu,
        hy,
        id,
        is,
        it,
        ja,
        jw,
        km,
        ko,
        la,
        lv,
        mk,
        ml,
        mr,
        my,
        ne,
        nl,
        no,
        pl,
        pt,
        pt_br,
        pt_pt,
        ro,
        ru,
        si,
        sk,
        sq,
        sr,
        su,
        sv,
        sw,
        ta,
        te,
        th,
        tl,
        tr,
        uk,
        vi,
        zh_cn,
        zh_tw,
    }

## Variants (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.
`af`
`ar`
`bn`
`bs`
`ca`
`cs`
`cy`
`da`
`de`
`el`
`en`
`en_au`
`en_ca`
`en_gb`
`en_gh`
`en_ie`
`en_in`
`en_ng`
`en_nz`
`en_ph`
`en_tz`
`en_uk`
`en_us`
`en_za`
`eo`
`es`
`es_es`
`es_us`
`et`
`fi`
`fr`
`fr_ca`
`fr_fr`
`hi`
`hr`
`hu`
`hy`
`id`
`is`
`it`
`ja`
`jw`
`km`
`ko`
`la`
`lv`
`mk`
`ml`
`mr`
`my`
`ne`
`nl`
`no`
`pl`
`pt`
`pt_br`
`pt_pt`
`ro`
`ru`
`si`
`sk`
`sq`
`sr`
`su`
`sv`
`sw`
`ta`
`te`
`th`
`tl`
`tr`
`uk`
`vi`
`zh_cn`
`zh_tw`

## Trait Implementations

### `impl Debug for Lang` [src]

#### `fn fmt(&self, f: &mut Formatter<'_>) -> Result` [src]

Formats the value using the given formatter. Read more

### `impl ToString for Lang` [src]

#### `fn to_string(&self) -> String` [src]

Converts the given value to a `String`. Read more

## Auto Trait Implementations

### `impl RefUnwindSafe for Lang`

### `impl Send for Lang`

### `impl Sync for Lang`

### `impl Unpin for Lang`

### `impl UnwindSafe for Lang`

## Blanket Implementations

### `impl<T> Any for T where
T: 'static + ?Sized,` [src]

#### `pub fn type_id(&self) -> TypeId` [src]

Gets the `TypeId` of `self`. Read more

### `impl<T> Borrow<T> for T where
T: ?Sized,` [src]

#### `pub fn borrow(&self) -> &T` [src]

Immutably borrows from an owned value. Read more

### `impl<T> BorrowMut<T> for T where
T: ?Sized,` [src]

#### `pub fn borrow_mut(&mut self) -> &mut T` [src]

Mutably borrows from an owned value. Read more

### `impl<T> From<T> for T` [src]

#### `pub fn from(t: T) -> T` [src]

Performs the conversion.

### `impl<T, U> Into<U> for T where
U: From<T>,` [src]

#### `pub fn into(self) -> U` [src]

Performs the conversion.

### `impl<T, U> TryFrom<U> for T where
U: Into<T>,` [src]

#### `type Error = Infallible`

The type returned in the event of a conversion error.

#### `pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>` [src]

Performs the conversion.

### `impl<T, U> TryInto<U> for T where
U: TryFrom<T>,` [src]

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

The type returned in the event of a conversion error.

#### `pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>` [src]

Performs the conversion.