pub struct PathEntry {
pub path: PathBuf,
pub is_dir: bool,
}Expand description
A single entry returned by list_dir.
Fields§
§path: PathBufAbsolute path to the entry.
is_dir: boolTrue if the entry is a directory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathEntry
impl RefUnwindSafe for PathEntry
impl Send for PathEntry
impl Sync for PathEntry
impl Unpin for PathEntry
impl UnsafeUnpin for PathEntry
impl UnwindSafe for PathEntry
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