pub struct Grep {
pub query: String,
pub filename: String,
pub ignore_case: bool,
pub is_regexp: bool,
}
Expand description
Represents a configuration of the app. It consists of the arguments given to the program
Fields§
§query: String
§filename: String
§ignore_case: bool
§is_regexp: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Grep
impl RefUnwindSafe for Grep
impl Send for Grep
impl Sync for Grep
impl Unpin for Grep
impl UnwindSafe for Grep
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