pub struct GrepOptions {
pub pathspecs: Vec<String>,
pub ignore_case: bool,
pub line_numbers: bool,
pub extra_args: ExtraArgs,
}Expand description
Controls git grep-style inspection.
Fields§
§pathspecs: Vec<String>Limit matches to the given repository-relative paths.
ignore_case: boolWhether matching should ignore case.
line_numbers: boolWhether to include line numbers in backend command composition.
extra_args: ExtraArgsImplementation-specific passthrough arguments.
Trait Implementations§
Source§impl Clone for GrepOptions
impl Clone for GrepOptions
Source§fn clone(&self) -> GrepOptions
fn clone(&self) -> GrepOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GrepOptions
impl Debug for GrepOptions
Source§impl Default for GrepOptions
impl Default for GrepOptions
Source§fn default() -> GrepOptions
fn default() -> GrepOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GrepOptions
impl RefUnwindSafe for GrepOptions
impl Send for GrepOptions
impl Sync for GrepOptions
impl Unpin for GrepOptions
impl UnsafeUnpin for GrepOptions
impl UnwindSafe for GrepOptions
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