pub struct PreProcessOptions {
pub extract_tags: bool,
pub normalize_whitespace: bool,
pub convert_all_to_ascii: bool,
pub convert_symbols_to_ascii: bool,
}
Expand description
A struct representing options for the PreProcessor
struct.
Fields§
Toggles running #tag
extraction from notes.
normalize_whitespace: bool
Toggles running whitespace normalization.
convert_all_to_ascii: bool
Toggles converting all Unicode characters to ASCII.
convert_symbols_to_ascii: bool
Toggles converting “smart” Unicode symbols to ASCII.
Trait Implementations§
Source§impl Clone for PreProcessOptions
impl Clone for PreProcessOptions
Source§fn clone(&self) -> PreProcessOptions
fn clone(&self) -> PreProcessOptions
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 PreProcessOptions
impl Debug for PreProcessOptions
impl Copy for PreProcessOptions
Auto Trait Implementations§
impl Freeze for PreProcessOptions
impl RefUnwindSafe for PreProcessOptions
impl Send for PreProcessOptions
impl Sync for PreProcessOptions
impl Unpin for PreProcessOptions
impl UnwindSafe for PreProcessOptions
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more