Enum deeprl::SplitSentences
source · pub enum SplitSentences {
None,
Default,
NoNewlines,
}
Expand description
Sets whether the translation engine should first split the input into sentences
Variants§
None
No splitting
Default
By default, split on punctuation and newlines
NoNewlines
Split on punctuation only
Trait Implementations§
source§impl Clone for SplitSentences
impl Clone for SplitSentences
source§fn clone(&self) -> SplitSentences
fn clone(&self) -> SplitSentences
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SplitSentences
impl Debug for SplitSentences
source§impl Serialize for SplitSentences
impl Serialize for SplitSentences
impl Copy for SplitSentences
Auto 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)