Enum stringmatch::StringMatchLength
source · [−]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
sourceimpl Clone for StringMatchLength
impl Clone for StringMatchLength
sourcefn clone(&self) -> StringMatchLength
fn clone(&self) -> StringMatchLength
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StringMatchLength
impl Debug for StringMatchLength
sourceimpl Hash for StringMatchLength
impl Hash for StringMatchLength
impl Eq for StringMatchLength
impl StructuralEq for StringMatchLength
impl StructuralPartialEq for StringMatchLength
Auto Trait Implementations
impl RefUnwindSafe for StringMatchLength
impl Send for StringMatchLength
impl Sync for StringMatchLength
impl Unpin for StringMatchLength
impl UnwindSafe for StringMatchLength
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more