pub enum SplitSentences {
None,
One,
NoNewlines,
}Expand description
Enumeration of split sentence options.
Variants§
None
Do not split sentences.
One
Split on punctuation and newlines.
Default for XML tag handling.
NoNewlines
Split on punctuation only.
Default for HTML tag handling.
Trait Implementations§
Source§impl Debug for SplitSentences
impl Debug for SplitSentences
Source§impl<'de> Deserialize<'de> for SplitSentences
impl<'de> Deserialize<'de> for SplitSentences
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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