pub struct SearchConfig<'a> {
pub pattern: &'a str,
pub root: &'a str,
pub hide_hidden: bool,
pub case_sensitive: bool,
pub thread_count: usize,
pub keep_dirs: bool,
pub keep_sys_paths: bool,
pub max_depth: Option<usize>,
pub use_glob: bool,
pub full_path: bool,
}Fields§
§pattern: &'a str§root: &'a str§case_sensitive: bool§thread_count: usize§keep_dirs: bool§keep_sys_paths: bool§max_depth: Option<usize>§use_glob: bool§full_path: boolAuto Trait Implementations§
impl<'a> Freeze for SearchConfig<'a>
impl<'a> RefUnwindSafe for SearchConfig<'a>
impl<'a> Send for SearchConfig<'a>
impl<'a> Sync for SearchConfig<'a>
impl<'a> Unpin for SearchConfig<'a>
impl<'a> UnwindSafe for SearchConfig<'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