pub struct FileProcessingParams<'a> {
pub path: &'a Path,
pub line_numbers: &'a HashSet<usize>,
pub allow_tests: bool,
pub term_matches: &'a HashMap<usize, HashSet<usize>>,
pub num_queries: usize,
pub filename_matched_queries: HashSet<usize>,
pub queries_terms: &'a [Vec<(String, String)>],
pub preprocessed_queries: Option<&'a [Vec<String>]>,
pub query_plan: &'a QueryPlan,
pub no_merge: bool,
}Expand description
Parameters for file processing
Fields§
§path: &'a Path§line_numbers: &'a HashSet<usize>§allow_tests: bool§term_matches: &'a HashMap<usize, HashSet<usize>>§num_queries: usize§filename_matched_queries: HashSet<usize>§queries_terms: &'a [Vec<(String, String)>]§preprocessed_queries: Option<&'a [Vec<String>]>§query_plan: &'a QueryPlan§no_merge: boolAuto Trait Implementations§
impl<'a> Freeze for FileProcessingParams<'a>
impl<'a> RefUnwindSafe for FileProcessingParams<'a>
impl<'a> Send for FileProcessingParams<'a>
impl<'a> Sync for FileProcessingParams<'a>
impl<'a> Unpin for FileProcessingParams<'a>
impl<'a> UnwindSafe for FileProcessingParams<'a>
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