pub enum Formality {
Default,
More,
Less,
PreferMore,
PreferLess,
}
Expand description
Sets whether the translation engine should lean towards formal or informal language
Variants§
Default
Default formality
More
More formal
Less
Less formal
PreferMore
More formal if supported by target language, else default
PreferLess
Less formal if supported by target language, else default
Trait Implementations§
impl Copy for Formality
Auto Trait Implementations§
impl Freeze for Formality
impl RefUnwindSafe for Formality
impl Send for Formality
impl Sync for Formality
impl Unpin for Formality
impl UnwindSafe for Formality
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