pub struct MatchConfig {
pub case_sensitive: bool,
pub max_matches: usize,
pub enable_wildcards: bool,
pub min_pattern_length: usize,
}
Expand description
Pattern matching configuration
Fields§
§case_sensitive: bool
Case sensitive string matching
max_matches: usize
Maximum number of matches to find
enable_wildcards: bool
Enable wildcard matching
min_pattern_length: usize
Minimum pattern length
Trait Implementations§
Source§impl Clone for MatchConfig
impl Clone for MatchConfig
Source§fn clone(&self) -> MatchConfig
fn clone(&self) -> MatchConfig
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 MatchConfig
impl Debug for MatchConfig
Auto Trait Implementations§
impl Freeze for MatchConfig
impl RefUnwindSafe for MatchConfig
impl Send for MatchConfig
impl Sync for MatchConfig
impl Unpin for MatchConfig
impl UnwindSafe for MatchConfig
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