pub struct TreeEntry {
pub path: PathBuf,
pub relative_path: PathBuf,
pub is_file: bool,
pub is_dir: bool,
pub is_symlink: bool,
}Expand description
A recursive file tree entry.
Fields§
§path: PathBufAbsolute or caller-provided path to the entry.
relative_path: PathBufPath relative to the listed root.
is_file: boolWhether the entry is a regular file.
is_dir: boolWhether the entry is a directory.
is_symlink: boolWhether the entry is a symlink.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TreeEntry
impl RefUnwindSafe for TreeEntry
impl Send for TreeEntry
impl Sync for TreeEntry
impl Unpin for TreeEntry
impl UnsafeUnpin for TreeEntry
impl UnwindSafe for TreeEntry
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