pub struct FileTree {
pub root: PathBuf,
pub entries: Vec<FileEntry>,
}Expand description
The result of a walk: the root plus entries sorted by rel_path.
Fields§
§root: PathBufWalk root (canonicalized when possible).
entries: Vec<FileEntry>Entries sorted by rel_path.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileTree
impl RefUnwindSafe for FileTree
impl Send for FileTree
impl Sync for FileTree
impl Unpin for FileTree
impl UnsafeUnpin for FileTree
impl UnwindSafe for FileTree
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