pub enum PunctuationBoundary {
Show 15 variants
ChinesePeriod,
ChineseComma,
Period,
Exclamation,
QuestionMark,
Semicolon,
RightParenthesis,
ArabicComma,
UrduPeriod,
DevanagariDanda,
DevanagariDoubleDanda,
Pipe,
DoublePipe,
Comma,
Colon,
}
Expand description
Punctuation boundaries that are considered valid for chunk creation
Variants§
ChinesePeriod
ChineseComma
Period
Exclamation
QuestionMark
Semicolon
RightParenthesis
ArabicComma
UrduPeriod
DevanagariDanda
DevanagariDoubleDanda
Pipe
DoublePipe
Comma
Colon
Trait Implementations§
Source§impl Clone for PunctuationBoundary
impl Clone for PunctuationBoundary
Source§fn clone(&self) -> PunctuationBoundary
fn clone(&self) -> PunctuationBoundary
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 moreSource§impl Debug for PunctuationBoundary
impl Debug for PunctuationBoundary
Source§impl Default for PunctuationBoundary
impl Default for PunctuationBoundary
Source§fn default() -> PunctuationBoundary
fn default() -> PunctuationBoundary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PunctuationBoundary
impl<'de> Deserialize<'de> for PunctuationBoundary
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
Source§impl Hash for PunctuationBoundary
impl Hash for PunctuationBoundary
Source§impl Ord for PunctuationBoundary
impl Ord for PunctuationBoundary
Source§fn cmp(&self, other: &PunctuationBoundary) -> Ordering
fn cmp(&self, other: &PunctuationBoundary) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PunctuationBoundary
impl PartialEq for PunctuationBoundary
Source§impl PartialOrd for PunctuationBoundary
impl PartialOrd for PunctuationBoundary
Source§impl Serialize for PunctuationBoundary
impl Serialize for PunctuationBoundary
impl Copy for PunctuationBoundary
impl Eq for PunctuationBoundary
impl StructuralPartialEq for PunctuationBoundary
Auto Trait Implementations§
impl Freeze for PunctuationBoundary
impl RefUnwindSafe for PunctuationBoundary
impl Send for PunctuationBoundary
impl Sync for PunctuationBoundary
impl Unpin for PunctuationBoundary
impl UnwindSafe for PunctuationBoundary
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