[][src]Enum text_translator::InputLanguage

pub enum InputLanguage {

Represents the languages that the text to translate shall use.

It can be either an automatic detection, or a predefined Language.



Automatic language detection.


Defined language input.

Trait Implementations

impl Clone for InputLanguage[src]

impl Copy for InputLanguage[src]

impl Debug for InputLanguage[src]

impl Eq for InputLanguage[src]

impl Ord for InputLanguage[src]

impl PartialEq<InputLanguage> for InputLanguage[src]

impl PartialOrd<InputLanguage> for InputLanguage[src]

impl StructuralEq for InputLanguage[src]

impl StructuralPartialEq for InputLanguage[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized

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

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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.