pub struct GrepEngineInput {
pub pattern: String,
pub root: PathBuf,
pub glob: Option<String>,
pub type: Option<String>,
pub case_insensitive: bool,
pub multiline: bool,
pub context_before: usize,
pub context_after: usize,
pub max_columns: usize,
pub max_filesize: u64,
}Expand description
Inputs to the engine. Shape-compatible with the TS GrepEngineInput;
the only divergence is signal — Rust tool calls don’t take an
explicit cancel signal at this layer (yet), so the engine runs to
natural completion.
Fields§
§pattern: String§root: PathBuf§glob: Option<String>§type: Option<String>§case_insensitive: bool§multiline: bool§context_before: usize§context_after: usize§max_columns: usize§max_filesize: u64Trait Implementations§
Source§impl Clone for GrepEngineInput
impl Clone for GrepEngineInput
Source§fn clone(&self) -> GrepEngineInput
fn clone(&self) -> GrepEngineInput
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 moreAuto Trait Implementations§
impl Freeze for GrepEngineInput
impl RefUnwindSafe for GrepEngineInput
impl Send for GrepEngineInput
impl Sync for GrepEngineInput
impl Unpin for GrepEngineInput
impl UnsafeUnpin for GrepEngineInput
impl UnwindSafe for GrepEngineInput
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