pub(crate) struct Ancestor {
pub(crate) path: PathBuf,
}
Expand description
An ancestor is an item in the directory tree traversed by walkdir, and is used to check for loops in the tree when traversing symlinks.
Fields§
§path: PathBuf
The path of this ancestor.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Ancestor
impl RefUnwindSafe for Ancestor
impl Send for Ancestor
impl Sync for Ancestor
impl Unpin for Ancestor
impl UnwindSafe for Ancestor
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