pub struct TextSearcher { /* private fields */ }Expand description
Text searcher that uses ripgrep as a library for fast text searching
Implementations§
Source§impl TextSearcher
impl TextSearcher
Sourcepub fn respect_gitignore(self, value: bool) -> Self
pub fn respect_gitignore(self, value: bool) -> Self
Set whether to respect .gitignore files (default: true)
Sourcepub fn case_sensitive(self, value: bool) -> Self
pub fn case_sensitive(self, value: bool) -> Self
Set whether search is case-sensitive (default: false)
Sourcepub fn word_match(self, value: bool) -> Self
pub fn word_match(self, value: bool) -> Self
Set whether to match whole words only (default: false)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextSearcher
impl RefUnwindSafe for TextSearcher
impl Send for TextSearcher
impl Sync for TextSearcher
impl Unpin for TextSearcher
impl UnwindSafe for TextSearcher
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