Struct find_folder::SearchFolder
[−]
[src]
pub struct SearchFolder { pub start: PathBuf, pub direction: Search, }
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.
Methods
impl SearchFolder
[src]
fn for_folder(&self, target: &str) -> Result<PathBuf, Error>
Search for a folder with the given name.
Trait Implementations
impl Clone for SearchFolder
[src]
fn clone(&self) -> SearchFolder
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more