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 duplicate 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 Freeze for SearchFolder
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