#[repr(C)]pub struct Dirent {
pub d_next: Dircookie,
pub d_ino: Inode,
pub d_namlen: Dirnamlen,
pub d_type: Filetype,
}
Fields
d_next: Dircookie
The offset of the next directory entry stored in this directory.
d_ino: Inode
The serial number of the file referred to by this directory entry.
d_namlen: Dirnamlen
The length of the name of the directory entry.
d_type: Filetype
The type of the file referred to by this directory entry.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Dirent
impl UnwindSafe for Dirent
Blanket Implementations
Mutably borrows from an owned value. Read more