pub struct StringMatch { /* private fields */ }
Implementations§
Source§impl StringMatch
impl StringMatch
pub fn new<S>(text: S) -> Self
pub fn is_full_match(&self) -> bool
pub fn is_partial_match(&self) -> bool
pub fn is_word_match(&self) -> bool
pub fn is_case_sensitive(&self) -> bool
pub fn partial(self) -> Self
pub fn full(self) -> Self
pub fn word(self) -> Self
pub fn case_insensitive(self) -> Self
pub fn case_sensitive(self) -> Self
Trait Implementations§
Source§impl Clone for StringMatch
impl Clone for StringMatch
Source§fn clone(&self) -> StringMatch
fn clone(&self) -> StringMatch
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 StringMatch
impl Debug for StringMatch
Source§impl<S> From<S> for StringMatch
impl<S> From<S> for StringMatch
Source§impl Hash for StringMatch
impl Hash for StringMatch
Source§impl PartialEq for StringMatch
impl PartialEq for StringMatch
impl Eq for StringMatch
impl StructuralPartialEq for StringMatch
Auto Trait Implementations§
impl Freeze for StringMatch
impl RefUnwindSafe for StringMatch
impl Send for StringMatch
impl Sync for StringMatch
impl Unpin for StringMatch
impl UnwindSafe for StringMatch
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