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§
Source§impl Clone for SplitSentences
impl Clone for SplitSentences
Source§fn clone(&self) -> SplitSentences
fn clone(&self) -> SplitSentences
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SplitSentences
impl RefUnwindSafe for SplitSentences
impl Send for SplitSentences
impl Sync for SplitSentences
impl Unpin for SplitSentences
impl UnwindSafe for SplitSentences
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