pub struct TextBoundaryOptions {
pub lowercase: bool,
pub normalize_unicode: bool,
pub include_numbers: bool,
pub include_punctuation: bool,
pub min_chars: usize,
}Expand description
Data type for text boundary options.
Fields§
§lowercase: boolThe lowercase value.
normalize_unicode: boolThe normalize unicode value.
include_numbers: boolThe include numbers value.
include_punctuation: boolThe include punctuation value.
min_chars: usizeThe min chars value.
Trait Implementations§
Source§impl Clone for TextBoundaryOptions
impl Clone for TextBoundaryOptions
Source§fn clone(&self) -> TextBoundaryOptions
fn clone(&self) -> TextBoundaryOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextBoundaryOptions
impl Debug for TextBoundaryOptions
Source§impl Default for TextBoundaryOptions
impl Default for TextBoundaryOptions
Source§impl<'de> Deserialize<'de> for TextBoundaryOptions
impl<'de> Deserialize<'de> for TextBoundaryOptions
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
impl Eq for TextBoundaryOptions
Source§impl PartialEq for TextBoundaryOptions
impl PartialEq for TextBoundaryOptions
Source§fn eq(&self, other: &TextBoundaryOptions) -> bool
fn eq(&self, other: &TextBoundaryOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TextBoundaryOptions
impl Serialize for TextBoundaryOptions
impl StructuralPartialEq for TextBoundaryOptions
Auto Trait Implementations§
impl Freeze for TextBoundaryOptions
impl RefUnwindSafe for TextBoundaryOptions
impl Send for TextBoundaryOptions
impl Sync for TextBoundaryOptions
impl Unpin for TextBoundaryOptions
impl UnsafeUnpin for TextBoundaryOptions
impl UnwindSafe for TextBoundaryOptions
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