#[repr(C)]pub struct Dirent {
pub d_next: Dircookie,
pub d_ino: Inode,
pub d_namlen: Dirnamlen,
pub d_type: Filetype,
}Fields
d_next: DircookieThe offset of the next directory entry stored in this directory.
d_ino: InodeThe serial number of the file referred to by this directory entry.
d_namlen: DirnamlenThe length of the name of the directory entry.
d_type: FiletypeThe type of the file referred to by this directory entry.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Dirent
impl Send for Dirent
impl Sync for Dirent
impl Unpin for Dirent
impl UnwindSafe for Dirent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more