Enum deepl_api::SplitSentences
source · [−]pub enum SplitSentences {
None,
Punctuation,
PunctuationAndNewlines,
}
Expand description
Translation option that controls the splitting of sentences before the translation.
Variants
None
Don’t split sentences.
Punctuation
Split on punctuation only.
PunctuationAndNewlines
Split on punctuation and newlines.
Trait Implementations
sourceimpl Clone for SplitSentences
impl Clone for SplitSentences
sourcefn clone(&self) -> SplitSentences
fn clone(&self) -> SplitSentences
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for SplitSentences
impl Send for SplitSentences
impl Sync for SplitSentences
impl Unpin for SplitSentences
impl UnwindSafe for SplitSentences
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more