Enum libretranslate::Language
source · pub enum Language {
Detect,
English,
Arabic,
Chinese,
French,
German,
Italian,
Japanese,
Portuguese,
Russian,
Spanish,
Polish,
}
Expand description
Languages that can used for input and output of the translate
function.
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq<Language> for Language
impl PartialEq<Language> for Language
impl Copy for Language
impl StructuralPartialEq for Language
Auto Trait Implementations§
impl RefUnwindSafe for Language
impl Send for Language
impl Sync for Language
impl Unpin for Language
impl UnwindSafe for Language
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