pub enum UnicodeMatching {
Ignore,
Smart,
Always,
}Variants§
Ignore
Always match against bytes directly
Smart
Ignore unicode unless the needle contains a multi-byte unicode char
Always
Always use expensive unicode Smith Waterman for correctness across multi-byte unicode chars in the haystack
Trait Implementations§
Source§impl Clone for UnicodeMatching
impl Clone for UnicodeMatching
Source§fn clone(&self) -> UnicodeMatching
fn clone(&self) -> UnicodeMatching
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 moreimpl Copy for UnicodeMatching
Source§impl Debug for UnicodeMatching
impl Debug for UnicodeMatching
Source§impl Default for UnicodeMatching
impl Default for UnicodeMatching
Source§fn default() -> UnicodeMatching
fn default() -> UnicodeMatching
Returns the “default value” for a type. Read more
impl Eq for UnicodeMatching
Source§impl PartialEq for UnicodeMatching
impl PartialEq for UnicodeMatching
Source§fn eq(&self, other: &UnicodeMatching) -> bool
fn eq(&self, other: &UnicodeMatching) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnicodeMatching
Auto Trait Implementations§
impl Freeze for UnicodeMatching
impl RefUnwindSafe for UnicodeMatching
impl Send for UnicodeMatching
impl Sync for UnicodeMatching
impl Unpin for UnicodeMatching
impl UnsafeUnpin for UnicodeMatching
impl UnwindSafe for UnicodeMatching
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