pub enum StringMatchLength {
Full,
Partial,
Word,
}
Variants§
Full
Needle string must match the whole haystack string.
Partial
Needle string can be any substring within the haystack string.
Word
Needle string will only match strings within the haystack surrounded by spaces or a string boundary.
Trait Implementations§
Source§impl Clone for StringMatchLength
impl Clone for StringMatchLength
Source§fn clone(&self) -> StringMatchLength
fn clone(&self) -> StringMatchLength
Returns a copy 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 StringMatchLength
impl Debug for StringMatchLength
Source§impl Hash for StringMatchLength
impl Hash for StringMatchLength
Source§impl PartialEq for StringMatchLength
impl PartialEq for StringMatchLength
impl Eq for StringMatchLength
impl StructuralPartialEq for StringMatchLength
Auto Trait Implementations§
impl Freeze for StringMatchLength
impl RefUnwindSafe for StringMatchLength
impl Send for StringMatchLength
impl Sync for StringMatchLength
impl Unpin for StringMatchLength
impl UnwindSafe for StringMatchLength
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