pub struct NoSymlink;Expand description
Accepts all directories which are not symlinks.
Trait Implementations§
Source§impl Filter for NoSymlink
impl Filter for NoSymlink
Source§fn filter(&self, _: &Path, p: &Path) -> bool
fn filter(&self, _: &Path, p: &Path) -> bool
Checks whether
path_to_visit should be visited or not. The base_path is
the initial directory provided to the visitor. Read moreSource§fn should_emit(&self, _: &Path) -> bool
fn should_emit(&self, _: &Path) -> bool
Checks whether
dir should be emitted by the iterator.Source§fn and<B>(self, other: B) -> And<Self, B>
fn and<B>(self, other: B) -> And<Self, B>
Creates a filter that only accepts both this and the
other condition.impl Copy for NoSymlink
impl Eq for NoSymlink
impl StructuralPartialEq for NoSymlink
Auto Trait Implementations§
impl Freeze for NoSymlink
impl RefUnwindSafe for NoSymlink
impl Send for NoSymlink
impl Sync for NoSymlink
impl Unpin for NoSymlink
impl UnwindSafe for NoSymlink
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