pub struct GrepOptions {
pub patterns: Vec<String>,
pub by_name: bool,
pub use_regexp: bool,
pub ignore_case: bool,
pub by_seq: bool,
pub degenerate: bool,
pub invert_match: bool,
pub region: Option<Region>,
pub only_positive: bool,
pub line_width: usize,
pub count_only: bool,
}Fields§
§patterns: Vec<String>§by_name: bool§use_regexp: bool§ignore_case: bool§by_seq: bool§degenerate: bool§invert_match: bool§region: Option<Region>§only_positive: bool§line_width: usize§count_only: boolAuto 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more