Struct find_folder::SearchFolder
source · pub struct SearchFolder {
pub start: PathBuf,
pub direction: Search,
}
Expand description
A search defined as a starting path and a route to take.
Don’t instantiate this type directly. Instead, use Search::of
.
Fields§
§start: PathBuf
The starting path of the search.
direction: Search
The route to take while searching.
Implementations§
source§impl SearchFolder
impl SearchFolder
Trait Implementations§
source§impl Clone for SearchFolder
impl Clone for SearchFolder
source§fn clone(&self) -> SearchFolder
fn clone(&self) -> SearchFolder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for SearchFolder
impl Send for SearchFolder
impl Sync for SearchFolder
impl Unpin for SearchFolder
impl UnwindSafe for SearchFolder
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