pub enum Visit {
AllRecursively,
Specific {
dirs: VisitDirs,
files: VisitFiles,
},
Nothing,
}
Variants§
AllRecursively
Everything in the directory is guaranteed to match, no need to check descendants
Specific
Nothing
Nothing in the directory or its subdirectories will match.
This is the same as Specific
with no directories or files. Use
Visit::set()
to get create an instance that’s Specific
or
Nothing
depending on the values at runtime.
Implementations§
Trait Implementations§
source§impl PartialEq for Visit
impl PartialEq for Visit
impl Eq for Visit
impl StructuralEq for Visit
impl StructuralPartialEq for Visit
Auto Trait Implementations§
impl RefUnwindSafe for Visit
impl Send for Visit
impl Sync for Visit
impl Unpin for Visit
impl UnwindSafe for Visit
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more