pub enum PathFilter {
Current,
Relative(PathBuf),
Home(PathBuf),
Absolute(PathBuf),
}Expand description
Path-based working directory filter.
Variants§
Current
Current directory (.)
Relative(PathBuf)
Relative path (./foo, ../bar)
Home(PathBuf)
Home-relative path (~/Projects)
Absolute(PathBuf)
Absolute path (/tmp/foo)
Trait Implementations§
Source§impl Clone for PathFilter
impl Clone for PathFilter
Source§fn clone(&self) -> PathFilter
fn clone(&self) -> PathFilter
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 moreSource§impl Debug for PathFilter
impl Debug for PathFilter
Source§impl PartialEq for PathFilter
impl PartialEq for PathFilter
impl StructuralPartialEq for PathFilter
Auto Trait Implementations§
impl Freeze for PathFilter
impl RefUnwindSafe for PathFilter
impl Send for PathFilter
impl Sync for PathFilter
impl Unpin for PathFilter
impl UnsafeUnpin for PathFilter
impl UnwindSafe for PathFilter
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