pub struct SearchTool { /* private fields */ }
Expand description
Unified search tool with multiple modes
Implementations§
Source§impl SearchTool
impl SearchTool
pub fn new(workspace_root: PathBuf, grep_search: Arc<GrepSearchManager>) -> Self
Trait Implementations§
Source§impl CacheableTool for SearchTool
impl CacheableTool for SearchTool
Source§impl Clone for SearchTool
impl Clone for SearchTool
Source§fn clone(&self) -> SearchTool
fn clone(&self) -> SearchTool
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 ModeTool for SearchTool
impl ModeTool for SearchTool
Source§fn supported_modes(&self) -> Vec<&'static str>
fn supported_modes(&self) -> Vec<&'static str>
Get supported modes
Source§impl Tool for SearchTool
impl Tool for SearchTool
Auto Trait Implementations§
impl Freeze for SearchTool
impl RefUnwindSafe for SearchTool
impl Send for SearchTool
impl Sync for SearchTool
impl Unpin for SearchTool
impl UnwindSafe for SearchTool
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