pub struct SentenceSplitOptions {
pub min_sentence_length: usize,
pub min_word_length: usize,
pub fallback_to_words: bool,
}Expand description
Configuration options for sentence splitting
Fields§
§min_sentence_length: usize§min_word_length: usize§fallback_to_words: boolTrait Implementations§
Source§impl Clone for SentenceSplitOptions
impl Clone for SentenceSplitOptions
Source§fn clone(&self) -> SentenceSplitOptions
fn clone(&self) -> SentenceSplitOptions
Returns a duplicate 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 SentenceSplitOptions
impl Debug for SentenceSplitOptions
Auto Trait Implementations§
impl Freeze for SentenceSplitOptions
impl RefUnwindSafe for SentenceSplitOptions
impl Send for SentenceSplitOptions
impl Sync for SentenceSplitOptions
impl Unpin for SentenceSplitOptions
impl UnwindSafe for SentenceSplitOptions
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