pub struct FileEntry {
pub rel_path: String,
pub abs_path: PathBuf,
pub kind: FileKind,
pub origin: EntryOrigin,
}Expand description
One entry of a FileTree.
Fields§
§rel_path: StringRelative to the walk root: / separators, no leading /, no ...
Non-UTF-8 file names are recorded lossily (declared policy).
abs_path: PathBufAbsolute path.
kind: FileKindWhat the entry is.
origin: EntryOriginWhich phase produced it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileEntry
impl RefUnwindSafe for FileEntry
impl Send for FileEntry
impl Sync for FileEntry
impl Unpin for FileEntry
impl UnsafeUnpin for FileEntry
impl UnwindSafe for FileEntry
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