pub struct Dirent {
pub name: String,
pub parent_path: String,
pub is_file: bool,
pub is_directory: bool,
}Expand description
An entry of a directory, as Node’s Dirent.
Fields§
§name: String§parent_path: String§is_file: bool§is_directory: boolTrait Implementations§
impl Eq for Dirent
impl StructuralPartialEq for Dirent
Auto Trait Implementations§
impl Freeze for Dirent
impl RefUnwindSafe for Dirent
impl Send for Dirent
impl Sync for Dirent
impl Unpin for Dirent
impl UnsafeUnpin for Dirent
impl UnwindSafe for Dirent
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