pub struct WalkEntry {
pub path: PathBuf,
pub depth: usize,
pub is_dir: bool,
}Expand description
One traversal entry (the root itself is not reported).
Fields§
§path: PathBufAbsolute path.
depth: usizeDepth below the walk root (direct children = 1).
is_dir: boolWhether the entry is a directory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WalkEntry
impl RefUnwindSafe for WalkEntry
impl Send for WalkEntry
impl Sync for WalkEntry
impl Unpin for WalkEntry
impl UnsafeUnpin for WalkEntry
impl UnwindSafe for WalkEntry
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